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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crystal32.ocx PrinterName

Status
Not open for further replies.

phirst

Programmer
Oct 26, 2000
57
FR
Hi,
I have an application running with a OCX connection to CR.
To change the printer for a report you have to assign the 3 properties:
PrinterName
PrinterDriver
PrinterPort.
This works fine.
In some special cases, e.g. printing labels, I want to check the printer before changing it, otherwise I will lose the custom paper size needed for the label.
When I look at the attribute PrinterName it is empty !!!
Is this a bug (I'm using CR version 8.0.1.0) ?
FYI I'm programming with Progress 4GL.
The application has been running for a year, but now my customer wants to buy a second label printer.
Since the paper size is tightly associated with the printer I can only see things getting more complicated (and generally I'm quite optimistic :)).
All help, remarks, insults etc... are welcome.
Thanx,
phirst.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top