Custom Paper Size
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Custom Paper Size
I have to print an invoice directly from code ... how can I do to print with a custom paper size ... I am using "Report.Print (False)" but is not respected when printing the paper size given in the report.
Milton
Milton
Custom Paper Size
Hello Milton,
The size of the page is stored directly in the report's template and size of the page is stored inside of the each page separately.
Please check that each page in the report template has correct sizes and orientation.
Thank you.
The size of the page is stored directly in the report's template and size of the page is stored inside of the each page separately.
Please check that each page in the report template has correct sizes and orientation.
Thank you.
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Custom Paper Size
Hello
Please send me an example where you can print a custom size paper (to print directly from code without displaying the dialog).
I am using a printer type DotMatrix
Milton
Please send me an example where you can print a custom size paper (to print directly from code without displaying the dialog).
I am using a printer type DotMatrix
Milton
Custom Paper Size
Hi Milton,
Sorry, for DotMarix printers this option is not available.
Thank you.
Sorry, for DotMarix printers this option is not available.
Thank you.
Custom Paper Size
Hi Milton,
I print to Dotmatrix printers with tractor sheet paper using Custom size paper. Each tractor sheet has a tear off point but the paper is continuous to a degree.
I don't use the dotmatrix printing mode within StimulReport right now but just printing to the dotmatrix using the normal print out.
Whatever the page size you are using within your report, you also need to make sure this page size exists on the Windows machine as well. this way the page size is available to the printer when the print job is sent to the printer. To create custom paper size in windows you open Printers and Faxes and Right click in some free space and select "Server Properties" (or File -> Server Properties).
From the 'Forms' Tab click the 'Create a new form' and give your form an appropriate name and enter its page size at the bottom of the window. Click OK to save. Make sure the paper Size width and Height match that of the page you use in StimulReports.
I print to Dotmatrix printers with tractor sheet paper using Custom size paper. Each tractor sheet has a tear off point but the paper is continuous to a degree.
I don't use the dotmatrix printing mode within StimulReport right now but just printing to the dotmatrix using the normal print out.
Whatever the page size you are using within your report, you also need to make sure this page size exists on the Windows machine as well. this way the page size is available to the printer when the print job is sent to the printer. To create custom paper size in windows you open Printers and Faxes and Right click in some free space and select "Server Properties" (or File -> Server Properties).
From the 'Forms' Tab click the 'Create a new form' and give your form an appropriate name and enter its page size at the bottom of the window. Click OK to save. Make sure the paper Size width and Height match that of the page you use in StimulReports.
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Custom Paper Size
Great Brendan, thanks for your help really has helped me with a problem that was long overdue.
I've completed the steps that states and works well.
It would be helpful if Stimulsoft would create the custom paper size from the code ... in my case I have 15 customers and I would avoid having to create multiple formats for each machine.
Thank you very much
Milton
I've completed the steps that states and works well.
It would be helpful if Stimulsoft would create the custom paper size from the code ... in my case I have 15 customers and I would avoid having to create multiple formats for each machine.
Thank you very much
Milton