Closed Vasanthvivi closed 2 years ago
Does it work when you run the service under your user account f.e.? Did you install the printer using print-it API?
Does it work when you run the service under your user account f.e.? Did you install the printer using print-it API?
Actually print it works fine, nowadays windows services running under kernel session, so it dont have a UI so when i try to print using MicrosoftPDF printer it wont work until we specify the appropriate extension and name of the document being printed , but it could able to print to connected printers, if we put settings of a page using algorithms ,
Can you elaborate why you would print a PDF to a PDF file? The use-case for print-it is to print to real network printers.
i just wanna make up my pdf such as using colors drawings,,, for testing purposes i have to use sample Microsoft PDF Printer, it pops up and asks to save in desired location,,, but services dont show UI
If it's for testing, you could run the executable as console by passing --console as command-line argument. Make sure to stop the windows service first, otherwise the port will already be in use.
yeah, in the port there is no problem,, in old windows we could show UI from the windows services, but now in latest version of windows kernel not allows to do that via services
while running as console application it works fine but while running as windows service it is not working .... the PrintDocument.Print() method not working under windows service ,,, ran the windows service as LocalSystem ..... Here is my config Windows 8.1