Point of Sales invoice report setting and closing (1 Viewer)

nector

Member
Local time
Today, 19:26
Joined
Jan 21, 2020
Messages
368
I need help here, the invoice report attached is failing to print properly with an inbuilt terminal with a printer from China. This is my first time to use this invoice on a POS , I have checked the parameters are just ok. The figures on the invoice print out are coming jumbled on this same terminal , I do not understand why? Can someone advise how to go about this chines built terminal.

Lastly I want the system to close the report automatically after printing , I have tried to use the command below its giving Type mismatch:

Code:
DoCmd.OpenReport "RptPosReceipts", acViewPreview, "", "", acNormal
DoCmd.RunCommand acCmdPrint
DoCmd.Close "RptPosReceipts"
 

Attachments

  • Invoice sample.pdf
    61.1 KB · Views: 117

Minty

AWF VIP
Local time
Today, 17:26
Joined
Jul 26, 2013
Messages
10,371
Make sure the margins and paper size are set correctly for the printer paper.

if you change acViewPreview to acViewNormal it will print immediately without previewing and leaving the window open.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 00:26
Joined
May 7, 2009
Messages
19,245
to close:

DoCmd.Close acReport, "RptPosReceipts"
 

nector

Member
Local time
Today, 19:26
Joined
Jan 21, 2020
Messages
368
Make sure the margins and paper size are set correctly for the printer paper.

if you change acViewPreview to acViewNormal it will print immediately without previewing and leaving the window open.
Many thanks for the corrections
 

Users who are viewing this thread

Top Bottom