Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

get_printer (DEVICES and PORTS) & init Set_printer (OpenInsight 32-bit Specific)

At 21 OCT 2004 03:58:10PM Dana Corson wrote:

I need to be able to get a list of the names of printers on the workstation along with the ports so I can change printers for certain reports that must be directed to certain printer.

When I use DEVICES, I am sucessful and able to get the list of all of my printers, but correspondingly, when I use PORTS, I only get one in the list.

Also, we need an example of some working code that supplies a printer name and port for init set_printer. Whenever we supply names and ports, we always get our default printer. At this point I'll assume that if the names and ports you get from get_printer are the ones you use in init set_printer, paramter #6, right?

Any help would be great.

Thanks


At 21 OCT 2004 04:22PM Donald Bakke wrote:

Dana,

See the Works discussion board for our response.

dbakke@srpcs.com

SRP Computer Solutions, Inc.

View this thread on the forum...