The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
Script to select printer (more) |
Post Reply |
Author | |
Bojangles
Newbie Joined: January 27 2004 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: January 29 2004 at 12:34am |
I just found out you may know my father, but in any case I have one more question if you don't mind. The script you gave me worked perfectly, I just have one more twist. I choose the specific printer I want for the job, but at the end of the routine, instead of assigning to another specific printer, is there a way to tell it to just go back to the default printer in accuterm? this script just changes from one specific listing to another. Some users have differing default printers. Am I making any sense?
|
|
Bojangles
Newbie Joined: January 27 2004 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Nevermind, it just dawned on me to simply look up what their default printer is in the OS and just reset it to that. duh. Thanks again.
|
|
Bojangles
Newbie Joined: January 27 2004 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Ok, don't never - nevermind. LOL Rough morning. Since like I said, everyone's default printer is different, I can't set the printer in Pick since I don't know what each individuals default printer is. Ok Now I am confusing myself. LOL
|
|
Bojangles
Newbie Joined: January 27 2004 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Well, I dug up the manual and found out for myself to just substitute a null for the printer. Thanks for your help.
|
|
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
One other thing you could do, if the user might be using a specific printer instead of the default printer, is to save the current printer in a "common" variable and restore it when you are done. There is a Common array which is global to all AccuTerm sessions that you can freely use:
save current printer: Common("SavedPrinter") = InitSession.PrinterName restore printer: InitSession.PrinterName = Common("SavedPrinter") |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |