Hi,
there are some problem under Terminal Server to set a default printer.
This code runs on local but not under TS:
function main
MsgInfo( "Current printer: "+PrnGetName() )
cPrinter:="PDF24 PDF"
oPrn:=PrintBegin("",.f.,.T.,cPrinter)
oPrn:End()
MsgInfo( "Current printer: "+PrnGetName() ) && it return PDF24 PDF only if executed in local, not in TS
return
Any ideas ?
Setting default printer in Terminal Server environment
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Setting default printer in Terminal Server environment
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
Re: Setting default printer in Terminal Server environment
Do you install the PDF24 driver on client?
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Re: Setting default printer in Terminal Server environment
Of course.
It is installed on the client and on the server.
The full name on the server is "PDF24 PDF (redirection 1)" and obviusly I provide this name on the server side.
It is installed on the client and on the server.
The full name on the server is "PDF24 PDF (redirection 1)" and obviusly I provide this name on the server side.
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
Re: Setting default printer in Terminal Server environment
João Santos - São Paulo - Brasil
Re: Setting default printer in Terminal Server environment
Marco,
have you installed the Printer - driver within every remote session I mean you log in with the remote users password and install the driver.
Best regards,
Otto
have you installed the Printer - driver within every remote session I mean you log in with the remote users password and install the driver.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: Setting default printer in Terminal Server environment
Try to set the default printer with drive and port
Code: Select all
PrnGetName() + "," + PrnGetDrive() + "," + PrnGetPort()