Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 02 FEB 2006 11:56:24AM Bertil Strom wrote:

Which is the proper way to change printer

set=utility("PRINTSETUP") or

set=set_printer("INIT","","","","",1,"","")

I'm running OI7.2 and having problem to keep changes.

Thanks


At 02 FEB 2006 03:06PM Bob Orsini wrote:

Using OIPI you should use the INIT command and not printsetup.


At 02 FEB 2006 03:14PM Bob Orsini wrote:

Bertil

If you are looking to change the default printer in windows neither of these will work. They are on defaults in OI. If you want to change default in windows you need to use paramter 6 in init command.


At 02 FEB 2006 04:01PM Bertil Strom wrote:

Thanks Bob

Works great !


At 03 FEB 2006 05:49AM Bertil Strom wrote:

One more thing..

How do I get rid of the message "Now printing" after closing the window "Printer settings" ?

/Bertil


At 03 FEB 2006 08:21AM Bob Orsini wrote:

Not sure which window you are talkoing about here Bertil.


At 03 FEB 2006 09:17AM Bertil Strom wrote:

This is what I do

set=set_printer("INIT","","","","",1,"","")  
currentdevice=get_printer("CURRENTDEVICE")
set=Set_Printer("INIT","","","","","",CURRENTDEVICE:@VM:1,"") 

then I'll get a msg "Now printing…"

/Bertil


At 03 FEB 2006 09:33AM John Bouley wrote:

Perhaps you should do a set_printer("TERM") before the second INIT.

John


At 03 FEB 2006 10:25AM Bertil Strom wrote:

Thanks John,

That was the trick. Now the msg is closed. Anyway to avoid the msg at all ?

/Bertil


At 03 FEB 2006 11:43AM John Bouley wrote:

Set_Printer("INIT",,,,,1:@VM:@VM:1)

parm5=1 hides the printing window.

John


At 03 FEB 2006 02:41PM Bertil Strom wrote:

Thanks, it works fine

/Bertil

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/7398cf7a285396f685257109005d0e40.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1