473,503 Members | 2,105 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

In VBA Access receiving a feedback from the printer that report page # is printed out

2 New Member
I have huge number of ID card to be print, each page contain 5 ID cards. when i sent report to print,due to some reasons i.e "Electric shutdown". all Pages will not be print.

I need a feed back from printer page by page , it mean i can resume the printing from the point where the printer have been stopped.

For that reasons , in need VBA command indicating the last page have been actually printed out.

before 2000 i were used Foxpro, i remember their was a command indicating the number of last pages are actually printed out
Apr 28 '16 #1
3 868
zmbd
5,501 Recognized Expert Moderator Expert
PK:
AFIK: Access does not have a built-in function to retrieve printer errors nor any bi-directional communication with the printer.

If you remember the FoxPro command you used perhaps one of us knows if there is an equivalent in Access.

We also need to know the version of Office/Access and the operating system you are using.
Apr 28 '16 #2
Parwar Khoshnaw
2 New Member
@zmbd
Thanks zmbd for your prompt reply.

In this Project m using Ms Access 2010, windows 7

In the FoxPro, i remember their was a table contains feed back from printer, may you are a wear that their are command called eject in order to rich to row number 63 in continuous paper and start new page, so that table contain exactly how many times physically ejected , that mean number of eject is the number of pages are printed. but how was the function , since that was in 1996-1998 i don't remember

Thanks again, can above brief attend to any solution?
Apr 28 '16 #3
zmbd
5,501 Recognized Expert Moderator Expert
old school days where every program basically used their own printer drivers.

that is not however (TBMK) what happens in more recent versions of window os nor with Access... the report is sent to the buffer or the print-spooler without any feedback from the printer; thus, we can tall how many pages were sent to the spooler but not how many were actually printed by the device...

the only other option I see here is if there is some sort of API call one could make to instance the printer directly and feed the report that way; however, that is well outside of my knowledge base.

In this case, I do not believe that there will be a solution to your problem using this method.

You could however create a query and/or code that allows you to take information from the last printed page "in-hand" (ie badge_id) and start your batch from that point. This would require the user to actually go to the printer, retrieve the documents, and read the information :-)
Apr 28 '16 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1035
by: Yog | last post by:
How to make a Printer friendly page in ASP.Net...???? If you could help....it wud be great....! Thanks, Yog
2
1890
by: weetat.yeo | last post by:
Hi all , I have a print button in PHP page which using javascript window.print() to print web page. However , when user click "print" , the print preview display that the page cut-off and...
5
2191
by: weetat.yeo | last post by:
Hi all , I have php page which the data in the page are extracted from MYSQL database. The data are retrieved when user click submit button . In the php page , there is a print button for user...
1
2239
by: bobh | last post by:
Hi All, In AccessXP I have a report which I have a group header/footer called HUB. On change in HUB I want to do a page break, I've found that if I put the page break in the HUB header section...
1
4477
by: jessicahagg | last post by:
Hi, Goal: Change report body background color to white at runtime before exporting to pfd format. I am reproducing a web report useing .Net reportviewer -- The report is to have the same...
4
2381
by: HowHow | last post by:
I am using Access 2000 to create report. I need to print training history for every worker in my department. Currently my report group the training record by worker's name but it continues with...
2
1625
by: daydreaming | last post by:
Hi all, I need some help. I have the index html page which has many <a> tags linking to other html pages. There is a need to create the printer friendly page by putting the contents of index file...
1
1127
by: oconrl4 | last post by:
I need to know how to expand the number of rows to import into an access database from a report. The limit is currently set to 100 rows. The access database is 2003. I am new to access. The users...
1
999
by: john aso | last post by:
i have a code i need it but i think its bad i ned to joien specific record to a report page for searching data this code i right it in query criteria under the field i want to see in the report...
1
1096
by: rgallo01 | last post by:
1) Creating a report from a Cross tab query for sales by fiscal period where fiscal period does not align with calendar month ends. 2)Each Fiscal Periods is defined as a "Group" (1 thru 6) so cross...
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.