Results 1 to 11 of 11
  1. #1
    Thomas 1958 is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    8

    Two Sided Printing

    Hello,


    I am trying to use the Report Lable function to essentially print 6 Baseball cards on both sides. My plan would be to print one side then put the paper in again and print the other side.

    The front Side looks like this and works great!
    Fields with a 1 and 2 are printed on the FRONT

    1st record 2nd Record 3rd Record
    _________ ______
    | Side1 | |Side 1 Etc......
    | Town1 | |Town 1
    | ID-1 | | ID-2 ID-3
    |Side 2 |
    | Town 2 |
    ------------
    4th Record 5th Record 6th Record


    The Back Side looks like this and works great!
    Fields with a 3 and 4 are printed on the Back

    1st record 2nd Record 3rd Record
    _________ ______
    | Side3 | |Side 3 Etc......
    | Town3 | |Town 3
    | ID-1 | | ID-2 ID-3
    |Side 4 |
    | Town 4 |
    ------------
    4th Record 5th Record 6th Record



    However, When you Flip the Paper, and print the other side, The ID's do not align
    i.e. the front side is ID-1, and the back side is ID-3

    My Table is setup as follows (No other Tables are involved in this function)
    Waybills:
    - Side1 Short Txt
    - Town1 Short Txt
    - Color1 Short Txt
    - Side2 Short Txt
    - Town2 Short Txt
    - Color2 Short Txt
    - Side3 Short Txt
    - Town3 Short Txt
    - Color3 Short Txt
    - Side4 Short Txt
    - Town4 Short Txt
    - Color4 Short Txt

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Could you provide db for testing and analysis? Follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Thomas 1958 is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    8
    Car Cards - fourm.zip


    Here is the DB, (I think)

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Might need temp table and some fancy VBA as demonstrated in https://www.accessforums.net/showthread.php?t=73256

    I will keep looking at but might take days to figure out.

    StrReverse([Side4Notes]) shows #ERROR because field is Null whereas StrReverse([Side2Notes]) does not because field has space. I would not insert space in field. Try:
    StrReverse(Nz([Side4Notes]," "))
    What is purpose of reversing strings?

    If these are supposed to be baseball cards, why is table called Waybills?

    How is Waybills data inserted to this table? Why this structure? If these sets of repetitive columns are not related data then really should be a record for each set.

    If front page print order of card numbers is

    15 16 17
    18 19

    then back page needs order of

    17 16 15
    --- 19 18

    Note the blank space represented by dashes. This will require a blank "placeholder" record.
    Last edited by June7; 03-31-2022 at 06:13 PM. Reason: I
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Thomas 1958 is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    8
    Click image for larger version. 

Name:	card.jpg 
Views:	21 
Size:	44.7 KB 
ID:	47602This is just a portion of the full database.. Typically No blank fields would be in the data.. but I will add the suggested code. It is actually for a model railroad, and yes they are waybills.. see picture as an example.
    The data is generated somewhat random from town names and industries, Yards and Staging. Once the data is loaded there should be several hundred records.

    What I forgot to mention is I am also using an Upside-down font... the picture shows the lower have behind the fold in the Waybill Holder. So that's why the text on the bottom half is reversed. You only see Half the card at a time. rotate it and you get a new view. Turn it over and you get two more views.
    Your card ordering is correct..
    Thanks for considering helping me with this challenge.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    So only 6 per page because you cut into 3 slips and fold between the two rows? Bottom third of page is waste?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    Thomas 1958 is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    8
    To be honest, I was just trying to get the code to work and had not given much thought to how many would fit on a page... the cards are 2"x3", so we could get 9 on a page.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Consider this.
    Attached Files Attached Files
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Thomas 1958 is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    8
    This is FANTASTIC !! Still testing, but it looks perfect.
    How Can I thank you enough!

  10. #10
    Thomas 1958 is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    8
    Found a Bug;

    countRecs = rsW.RecordCount + (3 - rsW.RecordCount Mod 9) although I am not sure how to fix it....

    less than 9 records in Waybills, The back page does not track 1:1?
    Over 9 records, you get an extra 3 blanks on the back page.

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Sorry, I must have done a typo edit after testing.

    Should be Mod 3.

    Try:

    countRecs = rsW.RecordCount + IIf(rsW.RecordCount Mod 3 = 0, 0, 3 - rsW.RecordCount Mod 3)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 04-17-2019, 03:51 AM
  2. Creating double-sided business cards
    By plc in forum Access
    Replies: 2
    Last Post: 07-19-2016, 07:17 AM
  3. Replies: 3
    Last Post: 08-21-2014, 08:32 AM
  4. Printing many records double sided
    By Lupson2011 in forum Reports
    Replies: 3
    Last Post: 11-21-2012, 03:34 AM
  5. Replies: 0
    Last Post: 06-01-2012, 04:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums