Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reporting to a tractor feed printer??

Status
Not open for further replies.

mjbosko

Programmer
Joined
Jun 26, 2002
Messages
248
Location
US
UI: Visual Basic v6
Rpt: Crystal Reports
Printer: Panasonic KX-P2130
Labels: 4x1"

First, I've designed a report to print to a tractor feed printer (see above). The report itself works great, but not sure how to set it up so that it doesn't ff to a 8.5 x 11 size...

Also, the user typically is printing to their report printer and this label printer is on another port. I'd like to allow them to select the printer. right now, it just prints to the default printer automatically. How do you do provide the Print Dialog using the Crystal Reports viewer control?

Thanks for any info you can provide.

Mike
 
I assume you are using the RDC. If so you use:

Report.PrinterSetup Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
I'm relatively new to CR. Where can I place

rpt.PrinterSetup me.hwnd

so that it appears when (and only when) the user hits the print button off the viewer?

I put it in place where I'm setting up the form and its the first thing that displays. Must be an event that fires when the print button is pressed?? I don't have my manual here on site.

Thanks, -Mike
 
Think first, act, then when that fails... ask.

A motto I try to live by... but failed miserably here.

duh, I found it. The event on the view, ...printbuttonclicked.

I'm slipping away embarrassed now.... [blush]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top