1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 '* Copyright 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: w_insertgraphic4.inc,v $
13 '* last change: $Author: vg $ $Date: 2008-08-18 12:31:06 $
15 '* This file is part of OpenOffice.org.
17 '* OpenOffice.org is free software: you can redistribute it and/or modify
18 '* it under the terms of the GNU Lesser General Public License version 3
19 '* only, as published by the Free Software Foundation.
21 '* OpenOffice.org is distributed in the hope that it will be useful,
22 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
23 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 '* GNU Lesser General Public License version 3 for more details
25 '* (a copy is included in the LICENSE file that accompanied this code).
27 '* You should have received a copy of the GNU Lesser General Public License
28 '* version 3 along with OpenOffice.org. If not, see
29 '* <http://www.openoffice.org/license.html>
30 '* for a copy of the LGPLv3 License.
32 '/************************************************************************
34 '* owner : helge.delfs@sun.com
36 '* short description : Test of the insert graphic function - 4
38 '************************************************************************
40 ' #1 tInsertGraphic_31 'Test Alignment via format/graphic: Anchor to paragraph -> Left, centered, right, top, center, bottom
41 ' #1 tInsertGraphic_32 'Test Alignment via format/graphic: Anchor to page -> Left, centered, right, top, center, bottom
42 ' #1 tInsertGraphic_33 'Test Alignment via format/graphic: Anchor to character -> Left, centered, right, top, center, bottom
43 ' #1 tInsertGraphic_34 'Test Alignment via format/graphic: Anchor as character -> top, center, bottom of baseline
44 ' #1 tInsertGraphic_35 'Test Wrap via format/graphic : none, Page Wrap, Optimal Page Wrap, Contour Wrap ,Wrap through, in Background , first paragraph
45 ' #1 tInsertGraphic_36 'Test original size
46 ' #1 tInsertGraphic_37 'Test keep ratio
47 ' #1 tInsertGraphic_38 'Check the graphic name in Navigator
48 ' #1 tInsertGraphic_39 'Test checkbox 'Position' in protect area
49 ' #1 tInsertGraphic_40 'Test checkbox 'Print' in Property area"
50 ' #1 tInsertGraphic_41 'Test checkbox 'Keep image size'
51 ' #1 tInsertGraphic_42 'Test checkbox 'Keep scale'
53 '\***********************************************************************
55 testcase tInsertGraphic_31
59 Dim iCenterHorizontal as Integer
61 Dim iBottom as Integer
62 Dim iCenterVertical as Integer
64 iLeft = 1 : iRight = 2 : iCenterHorizontal = 3
65 iTop = 1 : iBottom = 2 : iCenterVertical = 3
67 PrintLog "- Test Alignment via format/graphic: Anchor to paragraph -> Left, centered, right, top, center, bottom"
68 '/// Test Alignment via format/graphic: Anchor to paragraph -> Left, centered, right, top, center, bottom
72 '/// Insert a graphics
73 fInsertGraphics("Bughunter.jpg")
76 '/// Format / Graphic tabpage Type ,
77 '/// + Anchor to paragraph , and set Horizontal to left
78 fFormatGraphic("TabType")
80 AnchorAtparagraph.Check
81 Horizontal.Select iLeft
84 '/// Check the graphic position
85 fFormatGraphic("TabType")
88 if AnchorAtparagraph.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'to paragraph' !"
89 if Horizontal.GetSelIndex <> iLeft then Warnlog "The graphic's Horizontal option is not correct ! "
93 '/// Format / Graphic tabpage Type
94 '/// + Anchor to paragraph , and set Horizontal to Centered
95 fFormatGraphic("TabType")
97 AnchorAtparagraph.Check
98 Horizontal.Select iCenterHorizontal
101 '/// Check the graphic position
102 fFormatGraphic("TabType")
105 if AnchorAtparagraph.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'to paragraph' !"
106 if Horizontal.GetSelIndex <> iCenterHorizontal then Warnlog "The graphic's Horizontal option is not correct ! "
110 '/// Format / Graphic tabpage Type
111 '/// + Anchor to paragraph , and set Horizontal to Right
112 fFormatGraphic("TabType")
114 AnchorAtparagraph.Check
115 Horizontal.Select iRight
119 '/// Check the graphic position
120 fFormatGraphic("TabType")
123 if AnchorAtparagraph.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'to paragraph' !"
124 if Horizontal.GetSelIndex <> iRight then Warnlog "The graphic's Horizontal option is not correct ! "
128 '/// Format / Graphic tabpage Type
129 '/// + Anchor to paragraph , and set Vertical to top
130 fFormatGraphic("TabType")
132 AnchorAtparagraph.Check
136 '/// Check the graphic position
137 fFormatGraphic("TabType")
140 if AnchorAtparagraph.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'to paragraph' !"
141 if Vertical.GetSelIndex <> iTop then Warnlog "The graphic's Vertical option is not correct ! "
145 '/// Format / Graphic tabpage Type
146 '/// + Anchor to paragraph , and set Vertical to Center
147 fFormatGraphic("TabType")
149 AnchorAtparagraph.Check
150 Vertical.Select iCenterVertical
153 '/// Check the graphic position
154 fFormatGraphic("TabType")
156 if AnchorAtparagraph.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'to paragraph' !"
157 if Vertical.GetSelIndex <> iCenterVertical then Warnlog "The graphic's Vertical option is not correct ! #bug110281"
161 '/// Format / Graphic tabpage Type
162 '/// + Anchor to paragraph , and set Vertical to Bottom
163 fFormatGraphic("TabType")
164 AnchorAtparagraph.Check
165 Vertical.Select iBottom
168 '/// Check the graphic position
169 fFormatGraphic("TabType")
171 if AnchorAtparagraph.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'to paragraph' !"
172 if Vertical.GetSelIndex <> iBottom then Warnlog "The graphic's Vertical option is not correct ! "
179 '-------------------------------------------------------------------------------------------
181 testcase tInsertGraphic_32
184 Dim iRight as Integer
185 Dim iCenterHorizontal as Integer
187 Dim iBottom as Integer
188 Dim iCenterVertical as Integer
190 iLeft = 1 : iRight = 2 : iCenterHorizontal = 3
191 iTop = 1 : iBottom = 2 : iCenterVertical = 3
193 PrintLog "- Test Alignment via format/graphic: Anchor to page -> Left, centered, right, top, center, bottom"
194 '/// Test Alignment via format/graphic: Anchor to page -> Left, centered, right, top, center, bottom
198 '/// Insert a graphics
199 fInsertGraphics("Bughunter.jpg")
202 '/// Format / Graphic tabpage Type
203 '/// + Anchor to page , and set Horizontal to left
204 fFormatGraphic("TabType")
206 Horizontal.Select iLeft
209 '/// Check the graphic position
210 fFormatGraphic("TabType")
212 if AnchorAtPage.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Page' !"
213 if Horizontal.GetSelIndex <> iLeft then Warnlog "The graphic's Horizontal option is not correct ! "
216 PrintLog " Centered:"
217 '/// Format / Graphic tabpage Type
218 '/// + Anchor to page , and set Horizontal to Centered
219 fFormatGraphic("TabType")
221 Horizontal.Select iCenterHorizontal
224 '/// Check the graphic position
225 fFormatGraphic("TabType")
227 if AnchorAtPage.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Page' !"
228 if Horizontal.GetSelIndex <> iCenterHorizontal then Warnlog "The graphic's Horizontal option is not correct ! "
232 '/// Format / Graphic tabpage Type
233 '/// + Anchor to page , and set Horizontal to Right
234 fFormatGraphic("TabType")
236 Horizontal.Select iRight
239 '/// Check the graphic position
240 fFormatGraphic("TabType")
242 if AnchorAtPage.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Page' !"
243 if Horizontal.GetSelIndex <> iRight then Warnlog "The graphic's Horizontal option is not correct ! "
247 '/// Format / Graphic tabpage Type
248 '/// + Anchor to page , and set Vertical to top
249 fFormatGraphic("TabType")
254 '/// Check the graphic position
255 fFormatGraphic("TabType")
257 if AnchorAtPage.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Page' !"
258 if Vertical.GetSelIndex <> iTop then Warnlog "The graphic's Vertical option is not correct ! "
262 '/// Format / Graphic tabpage Type
263 '/// + Anchor to page , and set Vertical to Center
264 fFormatGraphic("TabType")
266 Vertical.Select iCenterVertical
269 '/// Check the graphic position
270 fFormatGraphic("TabType")
272 if AnchorAtPage.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Page' !"
273 if Vertical.GetSelIndex <> iCenterVertical then Warnlog "The graphic's Vertical option is not correct ! "
277 '/// Format / Graphic tabpage Type
278 '/// + Anchor to page , and set Vertical to Bottom
279 fFormatGraphic("TabType")
281 Vertical.Select iBottom
284 '/// Check the graphic position
285 fFormatGraphic("TabType")
287 if AnchorAtPage.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Page' !"
288 if Vertical.GetSelIndex <> iBottom then Warnlog "The graphic's Vertical option is not correct ! "
295 '-------------------------------------------------------------------------------------------
297 testcase tInsertGraphic_33
300 Dim iRight as Integer
301 Dim iCenterHorizontal as Integer
303 Dim iBottom as Integer
304 Dim iCenterVertical as Integer
306 iLeft = 1 : iRight = 2 : iCenterHorizontal = 3
307 iTop = 1 : iBottom = 2 : iCenterVertical = 4
309 PrintLog "- Test Alignment via format/graphic: Anchor to character -> Left, centered, right, top, center, bottom"
310 '/// Test Alignment via format/graphic: Anchor to character -> Left, centered, right, top, center, bottom
314 '/// Insert a graphics
315 fInsertGraphics("Bughunter.jpg")
318 '/// Format / Graphic tabpage Type
319 '/// + Anchor At Character , and set Horizontal to left
320 fFormatGraphic("TabType")
321 AnchorAtCharacter.Check
322 Horizontal.Select iLeft
325 '/// Check the graphic position
326 fFormatGraphic("TabType")
328 if AnchorAtCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Character' !"
329 if Horizontal.GetSelIndex <> iLeft then Warnlog "The graphic's Horizontal option is not correct ! "
332 PrintLog " Centered:"
333 '/// Format / Graphic tabpage Type
334 '/// + Anchor At Character , and set Horizontal to Centered
335 fFormatGraphic("TabType")
336 AnchorAtCharacter.Check
337 Horizontal.Select iCenterHorizontal
340 '/// Check the graphic position
341 fFormatGraphic("TabType")
343 if AnchorAtCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Character' !"
344 if Horizontal.GetSelIndex <> iCenterHorizontal then Warnlog "The graphic's Horizontal option is not correct ! "
348 '/// Format / Graphic tabpage Type
349 '/// + Anchor At Character , and set Horizontal to Right
350 fFormatGraphic("TabType")
351 AnchorAtCharacter.Check
352 Horizontal.Select iRight
355 '/// Check the graphic position
356 fFormatGraphic("TabType")
358 if AnchorAtCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Character' !"
359 if Horizontal.GetSelIndex <> iRight then Warnlog "The graphic's Horizontal option is not correct ! "
363 '/// Format / Graphic tabpage Type
364 '/// + Anchor At Character , and set Vertical to top
365 fFormatGraphic("TabType")
366 AnchorAtCharacter.Check
370 '/// Check the graphic position
371 fFormatGraphic("TabType")
373 if AnchorAtCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Character' !"
374 if Vertical.GetSelIndex <> iTop then Warnlog "The graphic's Vertical option is not correct ! "
378 '/// Format / Graphic tabpage Type
379 '/// + Anchor At Character , and set Vertical to Center
380 fFormatGraphic("TabType")
381 AnchorAtCharacter.Check
382 Vertical.Select iCenterVertical
385 '/// Check the graphic position
386 fFormatGraphic("TabType")
388 if AnchorAtCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Character' !"
389 if Vertical.GetSelIndex <> iCenterVertical then
390 if iSprache = 82 then
391 QAErrorlog "#i59378#Missing vertical position in in Format-Picture-dialog"
393 if Vertical.GetItemCount <> 6 then
394 QAErrorlog "#i59378#Missing vertical position in in Format-Picture-dialog"
396 Warnlog "The graphic's Vertical option is not correct ! "
403 '/// Format / Graphic tabpage Type
404 '/// + Anchor At Character , and set Vertical to Bottom
405 fFormatGraphic("TabType")
406 AnchorAtCharacter.Check
407 Vertical.Select iBottom
410 '/// Check the graphic position
411 fFormatGraphic("TabType")
413 if AnchorAtCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'At Character' !"
414 if Vertical.GetSelIndex <> iBottom then Warnlog "The graphic's Vertical option is not correct ! "
421 '-------------------------------------------------------------------------------------------
423 testcase tInsertGraphic_34
426 Dim iBottom as Integer
427 Dim iCenterVertical as Integer
429 iTop = 1 : iBottom = 2 : iCenterVertical = 3
431 PrintLog "- Test Alignment via format/graphic: Anchor as character -> top, center, bottom of baseline"
432 '/// Test Alignment via format/graphic: Anchor as character -> top, center, bottom of baseline
436 '/// Insert a graphics
437 fInsertGraphics("Bughunter.jpg")
439 PrintLog " Base line at top:"
440 '/// Format / Graphic tabpage Type
441 '/// + Anchor as character , and set Base line at top
442 fFormatGraphic("TabType")
444 AnchorAsCharacter.Check
448 '/// Check the graphic position
449 fFormatGraphic("TabType")
451 if AnchorAsCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'As character' !"
452 if Horizontal.IsEnabled = TRUE then Warnlog "The Horizontal listbox should not be enabled ! "
453 if Vertical.GetSelIndex <> iTop then Warnlog "The graphic's Vertical option is not correct ! "
456 PrintLog " Base line at center:"
457 '/// Format / Graphic tabpage Type
458 '/// + Anchor as character , and set Base line at center
459 fFormatGraphic("TabType")
461 AnchorAsCharacter.Check
462 Vertical.Select iCenterVertical
465 '/// Check the graphic position
466 fFormatGraphic("TabType")
468 if AnchorAsCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'As character' !"
469 if Horizontal.IsEnabled = TRUE then Warnlog "The Horizontal listbox should not be enabled ! "
470 if Vertical.GetSelIndex <> iCenterVertical then Warnlog "The graphic's Vertical option is not correct ! "
473 PrintLog " Base line at bottom:"
474 '/// Format / Graphic tabpage Type
475 '/// + Anchor as character , and set Base line at bottom
476 fFormatGraphic("TabType")
478 AnchorAsCharacter.Check
479 Vertical.Select iBottom
482 '/// Check the graphic position
483 fFormatGraphic("TabType")
485 if AnchorAsCharacter.IsChecked <> TRUE then Warnlog "Anchor should be checked to 'As character' !"
486 if Horizontal.IsEnabled = TRUE then Warnlog "The Horizontal listbox should not be enabled ! "
487 if Vertical.GetSelIndex <> iBottom then Warnlog "The graphic's Vertical option is not correct ! "
494 '-------------------------------------------------------------------------------------------
496 testcase tInsertGraphic_35
498 PrintLog "- Test Wrap via dialog : none, Page Wrap, Optimal Page Wrap, Contour Wrap ,Wrap through, in Background , first paragraph"
499 '/// <b> Test Wrap via dialog , including </b>
500 '/// +<b> none, Page Wrap, Optimal Page Wrap, Contour Wrap, </b>
501 '/// +<b> Wrap through, in Background, first paragraph </b>
505 '/// Insert a graphics
506 fInsertGraphics("Bughunter.jpg")
508 PrintLog " 1. No Wrap:"
509 '/// Format / Graphic / tabpage Wrap - No page
510 fFormatGraphic("TabUmlauf")
515 fFormatGraphic("TabUmlauf")
517 if Kein.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !"
520 PrintLog " 2. Page Wrap:"
521 '/// Format / Graphic / tabpage Wrap - Page Wrap
522 fFormatGraphic("TabUmlauf")
527 fFormatGraphic("TabUmlauf")
529 if Parallel.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !"
532 PrintLog " 3. Optimal Page Wrap:"
533 '/// Format / Graphic / tabpage Wrap - Optimal Page Wrap
534 fFormatGraphic("TabUmlauf")
539 fFormatGraphic("TabUmlauf")
541 if Dynamisch.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !"
544 PrintLog " 4. Wrap through:"
545 '/// Format / Graphic / tabpage Wrap - Wrap through
546 fFormatGraphic("TabUmlauf")
551 fFormatGraphic("TabUmlauf")
553 if Durchlauf.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !"
556 PrintLog " 5. In Background:"
557 '/// Format / Graphic / tabpage Wrap - In Background
558 fFormatGraphic("TabUmlauf")
564 fFormatGraphic("TabUmlauf")
566 if Durchlauf.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !"
567 if ImHintergrund.IsChecked <> TRUE then Warnlog "Background configuration is wrong !"
570 PrintLog " 6. first paragraph:"
571 '/// Format / Graphic / tabpage Wrap - first paragraph
572 fFormatGraphic("TabUmlauf")
578 fFormatGraphic("TabUmlauf")
580 if Parallel.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !"
581 if ErsterAbsatz.IsChecked <> TRUE then Warnlog "first paragraph configuration is wrong !"
584 PrintLog " 7. Contour:"
585 '/// Format / Graphic / tabpage Wrap - first paragraph
588 fFormatGraphic("TabUmlauf")
593 fFormatGraphic("TabUmlauf")
595 if Kontur.IsChecked <> TRUE then Warnlog "Contour configuration is wrong !"
602 '-------------------------------------------------------------------------------------------
604 testcase tInsertGraphic_36
606 Dim sOriginalWidth as String
607 Dim sOriginalHeight as String
608 Dim sNewWidth as String
609 Dim sNewHeight as String
611 sNewWidth = "7"+ gSeperator + "00" + gMeasurementUnit
612 sNewHeight = "5"+ gSeperator + "00" + gMeasurementUnit
614 PrintLog "- Test original size "
615 '/// Test original size
619 '/// Insert a graphics
620 fInsertGraphics("Bughunter.jpg")
622 '/// Format / Graphic tabpage Type , change the graphic's size
623 fFormatGraphic("TabType")
624 sOriginalWidth = Width.GetText
625 sOriginalHeight = Height.GetText
628 Width.SetText sNewWidth
630 Height.SetText sNewHeight
634 '/// Check if original size works well
635 fFormatGraphic("TabType")
636 if Width.GetText <> sNewWidth then Warnlog "The graphic's width is wrong !"
638 if Height.GetText <> sNewHeight then Warnlog "The graphic's height is wrong !"
642 if Width.GetText <> sOriginalWidth then Warnlog "The graphic's width isn't recovered to before!"
644 if Height.GetText <> sOriginalHeight then Warnlog "The graphic's height isn't recovered to before !"
652 '-------------------------------------------------------------------------------------------
654 testcase tInsertGraphic_37
657 Dim sHeight as String
658 Dim sNewWidth as String
659 Dim sNewHeight as String
661 sWidth = "4"+ gSeperator + "00" + gMeasurementUnit
662 sHeight = "3"+ gSeperator + "00" + gMeasurementUnit
664 sNewWidth = "8"+ gSeperator + "00" + gMeasurementUnit
665 sNewHeight = "6"+ gSeperator + "00" + gMeasurementUnit
667 PrintLog "- Test keep ratio"
672 '/// Insert a graphics and check 'keep ratio'
673 fInsertGraphics("Bughunter.jpg")
675 fFormatGraphic("TabType")
680 Height.SetText sHeight
687 '/// Format / Graphic tabpage Type , change the graphic's width
688 '/// + Check if keep ratio works well
689 fFormatGraphic("TabType")
691 Width.SetText sNewWidth
693 if Height.GetText <> sNewHeight then Warnlog "The graphic's height is wrong !"
700 '-------------------------------------------------------------------------------------------
702 testcase tInsertGraphic_38
704 Dim sGraphicName as String
705 Dim sNavActualItemName as string
707 sGraphicName = "TEST1"
709 PrintLog "- Check the graphic name in Navigator"
710 '/// Check the graphic name in Navigator
714 '/// Insert a graphics
715 Call fInsertGraphics("Bughunter.jpg")
717 '/// Format / Graphic / Options , set a new name
718 Call fFormatGraphic("TabZusaetze")
720 Kontext "TabZusaetze"
721 ObjektName.SetText sGraphicName
726 '/// Active navigator to check the graphic name
727 Call fStartupNavigator( "Graphics" , 2 )
729 Kontext "NavigatorWriter"
730 sNavActualItemName = Auswahlliste.GetitemText(2)
731 if sNavActualItemName <> sGraphicName then
732 warnlog "The graphic name should be " + sGraphicName & " but get " & sNavActualItemName & "!"
739 '-------------------------------------------------------------------------------------------
741 testcase tInsertGraphic_39
743 Dim sHorizontalBy as String
744 Dim sVerticalBy as String
746 PrintLog "- Test checkbox 'Position' in protect area"
747 '/// Test checkbox 'Position' in protect area
751 '/// Insert a graphics
752 fInsertGraphics("Bughunter.jpg")
754 '/// Format / Graphic / Options , check 'Position'
755 fFormatGraphic("TabZusaetze")
757 if PositionSchuetzen.IsChecked = TRUE then warnlog "The default situation of checkbox - position should be unchecked"
759 PositionSchuetzen.Check
763 'Check the original position
764 fFormatGraphic("TabType")
766 sHorizontalBy = HorizontalBy.GetText
767 sVerticalBy = VerticalBy.GetText
770 '/// move the picture with keyboard
771 Call wTypeKeys "<Down><Down><Right><Right>"
773 '/// + Check if the position is changed
774 fFormatGraphic("TabType")
775 if HorizontalBy.GetText <> sHorizontalBy then warnlog "The position Horizontal should be " +sHorizontalBy + " but get " + HorizontalBy.GetText
776 if VerticalBy.GetText <> sVerticalBy then warnlog "The position Vertical should be " +sVerticalBy + " but get " + VerticalBy.GetText
783 '-------------------------------------------------------------------------------------------
785 testcase tInsertGraphic_40
787 Dim sHorizontalBy as String
788 Dim sVerticalBy as String
790 PrintLog "- Test checkbox 'Print' in Property area"
791 '/// Test checkbox 'Print' in Property area
795 '/// Insert a graphics
796 fInsertGraphics("Bughunter.jpg")
798 '/// Format / Graphic / Options , check Position
799 fFormatGraphic("TabZusaetze")
801 if Drucken.IsChecked <> TRUE then warnlog "The default situation of checkbox - print should be checked"
803 PositionSchuetzen.UnCheck
807 '/// Print to Printer
808 PrintLog "- Please go to printer to check if you get a blank paper!"
811 if Active.Exists then
812 if Active.GetRT = 304 then
814 QAErrorLog "No Default-Printer!"
827 if Active.Exists then
828 if Active.GetRT = 304 then
837 '-------------------------------------------------------------------------------------------