NetTalk Central

Author Topic: Printing PDF  (Read 2958 times)

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Printing PDF
« on: August 17, 2014, 10:18:37 PM »
NT 8.23
CL 9.0

Printing an Invoice from a button on a browse table.
I have it all working just fine except for the following.

When I print the invoice from the database on my local machine running the Webserver locally the document prints Portrait.  This is what I want of course.

When I print the Invoice from the Webserver running on the VM in the cloud the result is always in Landscape.  I have have the setting for Landscape as False in the report.  Also in the report options it is pointed at Printer for output as per your example.

My sense is that because there is no printer defined on the VM it is confused in some way?

Any clues will help.

Brian.
Brian

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Printing PDF
« Reply #1 on: August 17, 2014, 10:42:18 PM »
you should add at least 1 printer to the VM so that a "default printer" exists. Otherwise you get "output" but actually it's not landscape or portrait - it's just using some random paper size - not what ever "default" (Letter?) that you have in mind.

cheers
Bruce

urayoan

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • AZ Rock Radio
Re: Printing PDF
« Reply #2 on: August 18, 2014, 05:54:02 AM »
Bryan,an additional approach i have to this, is that i have an dedicated account for the service with a printer defined when i install the web server as a service.

The problem you are having replicates with the default system account of windows even if there's a printer defined. (see the screen shot for reference)




[attachment deleted by admin]

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Printing PDF
« Reply #3 on: August 18, 2014, 08:27:34 AM »
Thanks to both of you - will let you know.
Brian