Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Printing documents

Posted on 2000-03-15
12
Medium Priority
?
185 Views
Last Modified: 2013-12-18
Hi experts,

I have designed a form in a database. The backgroundcolor of this form is dark (blue) and the characters are white. When users printing this form, the background and the characters
becomes black....so not readable. Is it possible to force the form while printing in black and white (or other colors) ?

Greetings Bob !!!                                
0
Comment
Question by:oosterbaan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 3
12 Comments
 
LVL 2

Accepted Solution

by:
Paebdb earned 150 total points
ID: 2619058
There is the possibility to create a copy of the form which has a white background and black letters (or any combination you like and is readable).
Than you create a button "Print" with following formula:
@Command([FilePrint] ;  ;  ; ; ; ; "formName" ;  ; ; ; )

You can also set the other parameters as you need them, but important is the formname. With it the current document is printed with a different form, in your case the newly copied one.
0
 

Expert Comment

by:fayeb
ID: 2619401
I have this problem with a specific printer in my company when printing out a form which has a black background and white text. It works on one printer but not on another.

I am afraid there is nothing you can do about the problem as it is to do with  the rending of the printer.

The option is try a different printer or change the colours on the form.
0
 
LVL 1

Author Comment

by:oosterbaan
ID: 2637768
This question has a deletion request Pending
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:Paebdb
ID: 2639277
This question no longer is pending deletion
0
 
LVL 2

Expert Comment

by:Paebdb
ID: 2639278
Before deleting I would like to know whats wrong with our comments ?
0
 
LVL 1

Author Comment

by:oosterbaan
ID: 2639511
There was nothing wrong with your comments, but this wasn't the solution for me.........Your comment about copying a form is not possible, because on this form is a RTField, so i can't copy the value in this field to another form......

Thanks anyway....

Greetings Bob !!!
0
 
LVL 2

Expert Comment

by:Paebdb
ID: 2639576
Then you did not understand what I intended to explain.
You were supposed to make a complete copy of the design of the form and rename it. Then use this form with above formula in a button.
This works !
0
 

Expert Comment

by:fayeb
ID: 2639577
With regards to yuo comment about not being able to copy the value to another form you can.  

Also I think the comments given were fine and deserve some creditation
0
 
LVL 1

Author Comment

by:oosterbaan
ID: 2639627
Listen guys,

I'm willing to give somebody credits...you can have them if you want, but this doesn't solves my problem.

I have a form (colored form) that can be read by all LN users. On this form is a Rich Text Field. This form is filled in by the author. The author don't want to fill in this form twice (one colored version and one black&white). So i thought that i create a button that will create the B/W form automaticly, but i can't inherit the values from the RTF into the copied document !!!

Greetings Bob !!!

Here are you points Paebdb
0
 
LVL 2

Expert Comment

by:Paebdb
ID: 2639664
First of all, I don't want the points for something that did not solve your problem. But if there is a problem, I would like to discuss it.

Second, you are not supposed to copy the document, but the DESIGN of the FORM.

1) go to design, select the form
2) make a copy, rename to "Printform" or whatever you like
3) change in this Printform the colors to something readable
4) in the original form, create an action button with the formula
@Command([FilePrint] ;"";"";"";"";""; "Printform";"";"";"";"")
This will take your document and print it with a different form.

The other options of FilePrint are
@Command([FilePrint] ; numCopies ; fromPage ; toPage ; ifDraft ; ifView ; formName ; breakType ; ifReset; startDate; endDate)

This will be still one document, the user has only to fill one doc, and nothing has to copied in the docs or inherited.
I think you are confusing the words document, form and design of a form.
0
 
LVL 1

Author Comment

by:oosterbaan
ID: 2639836
Hi fayeb,

You are absolutly wright....the credits are earned....but if you can tell me how i can inherit the value of a Rich Text Field into another document, you are my hero (-;

Greetings Bob !!!
0
 

Expert Comment

by:fayeb
ID: 2639923
No prob I had this problem for a long time and finally figured out where I was going wrong.  

Create a form exactly the same as the current form with a different background which can be viewed. Making sure on the new form you have an editable richtext field

You then need to create an agent  as you need to used script or you could create a button called "create form" and place the script in there.  This is how you do it


     Dim ws As New NotesUIWorkspace
     Dim db As NotesDatabase    
     Dim old As NotesUIDocument
     Dim new As NotesUIDocument
     Dim olddoc As NotesDocument
     Dim newdoc As NotesDocument

   old = the current UI Document
   'the form you want to copy from
   new = compose a new ui document
   'the copy of the form with the new background

   'set the field values of the normal text fields etc using fieldSettext

   'Save both of the forms

    Call new.Save
    Call old.Save


  'Declare bith forms a documents using

   Set newdoc = new.Document
   Set olddoc = old.Document

   Copy the rich text field as follows

   'This line gets the rich text item from the field "oldDocfield" on the
   old document and sets it to "rtitem"

    Set rtitem = olddoc.GetFirstItem( "oldDocfield" )
 
    'This line places the rich text item in "rtitem" in the field the field
    "newdocfield" on the new document

    Call rtitem.AppendRTItem( newdocfield )

    Call newdoc.Save(False,True)          
    Call old.Save



This should work if you have any problems let me know.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question