Point of Sales invoice report setting and closing

nector

Member
Local time
Today, 17:49
Joined
Jan 21, 2020
Messages
599
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

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.
 
to close:

DoCmd.Close acReport, "RptPosReceipts"
 
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

Back
Top Bottom