I have a local networked printer in my office that works fine.
I connect via Citrix to my customer and I can see it in 'Devices and Printers'.
I can use Notepad in the Citrix session to print by selecting this printer and it will print in my office.
I have a DOS program in the Citrix session that I want to print data to this printer from the Citrix session.
I just want to print something out from DOS and eventually maybe from Access.
I am only a user on a customer's tied down session ie no cmd line
I can create a batch file and run it but CMD won't work.
I can't share the printer in my session but I can see it and print to it from Notepad.
Since I can print to my local printer, on my network, from Notepad in the Citrix session it is not considered a support issue by my customer's third party Citrix support, so they won't help.
My local printer is called 'LOCALPRT" and prints from Notepad in the Citrix session.
I have tried NET USE LPT1: "\\CLIENT\LOCALPRT" and it brings up a prompt wanting a userid and password. Nothing I enter works.
I have tried using the computer name as \\MY-PC\ where 'MY-PC' is the computer name and that doesn't work.
'wmic printer get name, default' shows my printer is there in 'Session 1'.
My question is , how do I print from a batch file in my Citrix session?
I know nothing about Citrix but do know how to write batch files and map drives etc.