NetTalk Central

Author Topic: Automatic print without preview.  (Read 2709 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
    • Email
Automatic print without preview.
« on: February 13, 2019, 06:58:42 PM »
I need to print a report automatically  without the need for a print preview,
and without creating a visible  pdf first.
I want the print to happen on the calling NT app and not on the server.
Currently, the report displays as a PDF which requires a manual print button select on the pdf

The report is like a point of sale credit card customer transaction print.

is there an example ?
or guidance ?

Thanks
Richard NT  11.05   
« Last Edit: February 13, 2019, 07:05:29 PM by Richard I »

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: Automatic print without preview.
« Reply #1 on: February 13, 2019, 08:56:57 PM »
Hi Richard,

If you use Chrome try both switches -kiosk and -kiosk-printing.

Its not a silver bullet but it may do what you want.

For clues try:

https://support.vendhq.com/hc/en-us/articles/201378390-Enable-kiosk-printing-for-Google-Chrome-on-Windows

and

https://stackoverflow.com/questions/21073959/print-without-confirmation-on-google-chrome

Regards
Bill
« Last Edit: February 14, 2019, 02:28:07 AM by bshields »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11155
    • View Profile
Re: Automatic print without preview.
« Reply #2 on: February 14, 2019, 05:07:26 AM »
Hi Richard,

Imagine if sites could send stuff to your printer just by visiting the web page - without any user intervention.
I'm thinking that would be a very bad thing - and it seems like I'm not alone because your browser isn't able to do that.

cheers
Bruce

Richard I

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
    • Email
Re: Automatic print without preview.
« Reply #3 on: February 14, 2019, 01:08:03 PM »
Thank you Bruce, and yes I understand your position on this...
....
I want the report to be printed on the printer attached to the remote PC  and not on the server
Currently, the report is  called only from a valid login
(and its much like a credit card purchase transaction.)
I have the pdf appearing on the  remote PC  , as a PDF,  and it requires yet another button push to print, this time from the pdf preview, again on the remote.
This is what I am trying to eliminate.

Cheers
Richard

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11155
    • View Profile
Re: Automatic print without preview.
« Reply #4 on: February 18, 2019, 06:29:21 AM »
That's exactly what your browser does not allow you to do.
It's not _my_ position - it's theirs.
If you want it to be different you'll need to chat to the Chrome team.

cheers
Bruce