Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Specify printer from within Sales Contact Process
Dave McGill
Posts: 47
 
Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Jun 06 1:55 PM
fiogf49gjkf0d
We run processes that print multiple letters and labels for contacts and would like to be able to specify which printer is being used. Is this possible? I've been looking for a way to change the SLX Printer using code, but haven't found any references yet. It looks like it gets set to the Windows Default printer when SLX is opened, but can be changed using the File:Print Setup menu action.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Jun 06 2:59 PM

viagra cena heureka

viagra na prodej exlim.net
fiogf49gjkf0d
Here's a post I made a while back to retrieve the default printer using VBScript. You could modify this to write the printer info back to the registry to set it as the default before printing (just change it back after to what it was before)

http://saleslogixblog.com/rfarley/archive/2003/11/17/222.aspx

Good luck.
[Reply][Quote]
Dave McGill
Posts: 47
 
Re: Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Jun 06 3:52 PM

abortion pill mifepristone buy online

abortion pill ru486 buy online
fiogf49gjkf0d
Thanks for the info, but this grabs the Windows default printer, not the printer that is set from within SalesLogix. In test I've done, the processes use the printer that is set in SLX, which isn't necessarily the same as the Windows default printer. If you change the printer from within SLX, you will see that the Windows default printer does not change. It looks like the SLX printer gets set to the Windows default printer when SLX starts up. I was unable to find a registry entry for the SLX printer.


[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Jun 06 11:43 AM
fiogf49gjkf0d
Well it has got to be in the reg some where (I doubt that is stored in the db). I would suggest running RegMon (free from sysinternals.com) and make a change to that setting to see where it is stored.
[Reply][Quote]
Dave McGill
Posts: 47
 
Re: Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Jun 06 4:55 PM

amoxicillin without insurance

amoxicillin prescription no insurance

where to buy low dose naltrexone

buy naltrexone
fiogf49gjkf0d
I tried using RegMon and did not see anything change in the registry when I changed the printer in SLX. Tech support is telling me that it is probably stored in the exe and is not going to be accessible to me. I'd like to be able to specify the printer from within a sales contact process - any other ideas?
[Reply][Quote]
Dave McGill
Posts: 47
 
Re: Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jun 06 9:40 AM

norvasc

norvasc sebtiz13.fr
fiogf49gjkf0d
The answer from SalesLogix:
Discussed Note: Can I script to specify a printer in SalesLogix -- emailed information emailed the information from the KB article and that I did speak with the PSG group about this They explained it would be a lengthy code process and would still not fullfill his particular needs.

Resolution:449570.00000: We're using the Windows API to enumerate all printers
Discussed Note: Can I script to specify a printer in SalesLogix Customer wants to put a button on a form such that when it is pressed will send the data to a specified printer. He does not want the user to have to select any printers through the printer screen Initially explained to him this was not available through Architect but set within the SalesLogix.exe. Customer was not satisfied with this answer so explained to him I would post a question and email back to him.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Specify printer from within Sales Contact ProcessYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jun 06 1:45 PM

prednisolon 25 mg

prednisolon 25 mg online
fiogf49gjkf0d
Hmmm. Sort of sounds like a load of crap to me

I find it doubtful that the setting is actually written back to the exe, I mean, really, who stores settings like that?! But who knows, I've seen stranger things in this app hehe.

You could always just do your own thing. Get the report wrapped in an RDC object and send it off to the printer of choice yourself (that is what I would do).
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 5:50:54 AM