Last post Mar 22, 2016 12:25 PM by djnilo
Mar 15, 2016 10:19 PM|rowter|LINK
I have a report which prints the client's name, image, address and his ID in bar code format on a report.
The report is generating good and no issues with printing.
Now we want to use this same report to print ID cards.
We have a ID Card Printer and when i try to print, the details are printed to the top left.
Not sure how to fix this.
We are using VS 2008 and Crystal report 10.5.
Any suggestions on what changes have to be made to print the ID card?
Thanks in Advance.
Mar 22, 2016 12:18 PM|djnilo|LINK
steps to achieve this.
First you go to Control Panel - Printers and Faxes
Once there in the File Menu Select Server Option properties.
Create a new form with the measures you want; once created the form you name and save (save).
If you had the Crystal Report Loaded, close it and reloads the program to carge pages.
Once you have the report choose the size you created.
Mar 22, 2016 12:25 PM|djnilo|LINK
Might try this code
Private Sub Print (ByVal As Object objdataset)
Dim report As New Object
report = New rptFactura
reporte.PrintOptions.PrinterName = "Epson FX-2180"
'With this line the printer takes the type of seteado role in the Crystal Report
reporte.PrintOptions.Papersource = CrystalDecisions.Shared.PaperSource.Auto
'2 copies are printed
reporte.PrintToPrinter (2, False, 1, 1)