MedinahMike
asked on
What Crystal Report parameter do I need to specify to print a 30256 Shipping label directly to a Dymo Labelwriter 400?
I have a VB6 application that prints to directly to a Dymo Labelwriter 400 using Crystal Reports.
If I use: Call report.PrintOut(True) I can select the Dymo Labelwriter 400 printer via the printer dialog and the label (30256 Shipping) prints out correctly. (True means prompt user for printer selection) (False means no printer selection menu displayed)
However, if I use: Call report.PrintOut(False) the label still goes directly to the labelwriter BUT all the information in the label is printed in a small font fitting in the bottom half (or less) of the label. The user does not want to see the Printer Selection menu. What additional parameter(s) (and correct value(s)) do I need to specify to get a correct label?
If I use: Call report.PrintOut(True) I can select the Dymo Labelwriter 400 printer via the printer dialog and the label (30256 Shipping) prints out correctly. (True means prompt user for printer selection) (False means no printer selection menu displayed)
However, if I use: Call report.PrintOut(False) the label still goes directly to the labelwriter BUT all the information in the label is printed in a small font fitting in the bottom half (or less) of the label. The user does not want to see the Printer Selection menu. What additional parameter(s) (and correct value(s)) do I need to specify to get a correct label?
Call report.SelectPrinter(LablPrinterDriver, LablPrinterName, LablPrinterPort)
Call report.PrintOut(False)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
1. Open the report and select Page Setup.
2. Select the Label (30256 Shipping)
3. Click the Printer... button (still on the Page Setup dialog) and select Dymo
4. I zeroed out all the margin sizes. Crystal replaced the zeros with new margin numbers.
5. Saved the Report.
I can't set the default printer to Dymo because the default must remain their HP-1300 which prints out the other reports, but now the label goes directly to the label printer with no printer selection menu.