dbTalk Databases Forums  

Swithcing Printers

comp.databases.filemaker comp.databases.filemaker


Discuss Swithcing Printers in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Connelly
 
Posts: n/a

Default Swithcing Printers - 08-23-2005 , 05:35 AM






Hi All,

I was recently upgraded to a new Mac with the Tiger OS
(and have very few complaints about this!). However, a
script I used to use in Filemaker 6 has stopped working.

This was a script (which utilised Applescript within it)
to switched printers (to print to a label printer) and then switch
back to the main Laser printer. The script was simple, along
the lines of 'Tell Applescript ["tell application "Print Center"
set myprinter to printer "PET" set current printer to myprinter
end tell"]. Alas, it seems that the Tiger OS does not have
an application called 'Print Center' any more so the switch
does not work.

I'm sure there are other ways to switch printers during
a long scripted print run and switch back to the default
printer at the end but I can't seem to work it out. Has
anyone who uses two printers met and solved this problem
and can perhaps point me in the right direction for a solution?

Many thanks,
Tom



Reply With Quote
  #2  
Old   
cbvid
 
Posts: n/a

Default Re: Swithcing Printers - 08-23-2005 , 08:01 PM






Tom,

If you are not adverse to plug-ins for FileMaker you may want to try
Productive Computing and there Change Printer software. Not only does
it allow to change printers via scripting but allows several other
features such as move and copy files.

Use this link to view info.

https://www.productive.cc/pci_cart/F...ID_No=24&-Find

Good Luck, CB


Reply With Quote
  #3  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Swithcing Printers - 08-24-2005 , 01:20 AM



You could also read the (long) thread on the same subject recently in
this forum. Its object was :
"Re: how to assess to a particular file a particular printer?"
Remi-Noel


"Tom Connelly" <connelly (AT) hypnos (DOT) co.uk> a écrit ...
Quote:
Hi All,

I was recently upgraded to a new Mac with the Tiger OS
(and have very few complaints about this!). However, a
script I used to use in Filemaker 6 has stopped working.

This was a script (which utilised Applescript within it)
to switched printers (to print to a label printer) and then switch
back to the main Laser printer. The script was simple, along
the lines of 'Tell Applescript ["tell application "Print Center"
set myprinter to printer "PET" set current printer to myprinter
end tell"]. Alas, it seems that the Tiger OS does not have
an application called 'Print Center' any more so the switch
does not work.

I'm sure there are other ways to switch printers during
a long scripted print run and switch back to the default
printer at the end but I can't seem to work it out. Has
anyone who uses two printers met and solved this problem
and can perhaps point me in the right direction for a solution?

Many thanks,
Tom




Reply With Quote
  #4  
Old   
Tom Connelly
 
Posts: n/a

Default Re: Swithcing Printers - 08-24-2005 , 03:06 AM



Dear Remi

Thanks for this information. Is there an archive somewhere
that past items are stored?

Best regards, Tom



"Remi-Noel Menegaux" <rnmenegaux (AT) free (DOT) fr> wrote

Quote:
You could also read the (long) thread on the same subject recently in this
forum. Its object was :
"Re: how to assess to a particular file a particular printer?"
Remi-Noel


"Tom Connelly" <connelly (AT) hypnos (DOT) co.uk> a écrit ...
Hi All,

I was recently upgraded to a new Mac with the Tiger OS
(and have very few complaints about this!). However, a
script I used to use in Filemaker 6 has stopped working.

This was a script (which utilised Applescript within it)
to switched printers (to print to a label printer) and then switch
back to the main Laser printer. The script was simple, along
the lines of 'Tell Applescript ["tell application "Print Center"
set myprinter to printer "PET" set current printer to myprinter
end tell"]. Alas, it seems that the Tiger OS does not have
an application called 'Print Center' any more so the switch
does not work.

I'm sure there are other ways to switch printers during
a long scripted print run and switch back to the default
printer at the end but I can't seem to work it out. Has
anyone who uses two printers met and solved this problem
and can perhaps point me in the right direction for a solution?

Many thanks,
Tom






Reply With Quote
  #5  
Old   
Tom Connelly
 
Posts: n/a

Default Re: Swithcing Printers - 08-24-2005 , 03:06 AM



Hi There,

Many thanks for your advice, I will certainly check this out.

Best regards, Tom




"cbvid" <cbvid (AT) netscape (DOT) net> wrote

Quote:
Tom,

If you are not adverse to plug-ins for FileMaker you may want to try
Productive Computing and there Change Printer software. Not only does
it allow to change printers via scripting but allows several other
features such as move and copy files.

Use this link to view info.

https://www.productive.cc/pci_cart/F...ID_No=24&-Find

Good Luck, CB




Reply With Quote
  #6  
Old   
42
 
Posts: n/a

Default Re: Swithcing Printers - 08-24-2005 , 03:41 AM



In article <deh9ps$3qs$2 (AT) nwrdmz02 (DOT) dmz.ncs.ea.ibs-infra.bt.com>,
connelly (AT) hypnos (DOT) co.uk says...
Quote:
Dear Remi

Thanks for this information. Is there an archive somewhere
that past items are stored?

groups.google.com


Reply With Quote
  #7  
Old   
Tom Connelly
 
Posts: n/a

Default Re: Swithcing Printers - 08-25-2005 , 03:28 AM



Hi all,

Doh! all I have to do is substitute "Printer Setup Utility"
for "Printer Center" and the small printer switching
Applescript work as it did defore.

'Tell Applescript ["tell application "Print Center"
set myprinter to printer "PET" set current printer to myprinter
end tell"]

* PET is the name of my printer in the setup utility, so:

'Tell Applescript ["tell application "Printer Setup Utility"
set myprinter to printer "PET" set current printer to myprinter
end tell"]

Putting this in your scripts will allow printer switching in
Filemaker.

Thanks for your help,
Tom


"Tom Connelly" <connelly (AT) hypnos (DOT) co.uk> wrote

Quote:
Hi All,

I was recently upgraded to a new Mac with the Tiger OS
(and have very few complaints about this!). However, a
script I used to use in Filemaker 6 has stopped working.

This was a script (which utilised Applescript within it)
to switched printers (to print to a label printer) and then switch
back to the main Laser printer. The script was simple, along
the lines of 'Tell Applescript ["tell application "Print Center"
set myprinter to printer "PET" set current printer to myprinter
end tell"]. Alas, it seems that the Tiger OS does not have
an application called 'Print Center' any more so the switch
does not work.

I'm sure there are other ways to switch printers during
a long scripted print run and switch back to the default
printer at the end but I can't seem to work it out. Has
anyone who uses two printers met and solved this problem
and can perhaps point me in the right direction for a solution?

Many thanks,
Tom




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.