Barcode overlapping with text during print.
Hi,
I have created a smartform which consists of date and a barcode followed by its corresponding number. The print preview looks perfect. However, in the actual printout, the barcode gets overlapped on the date.
I have tried putting extra space, adding dummy text variables etc in the template.
Can anyone suggest a solution?
Thanks,
Sherin
Hi
Check if the code correction of the followin SAP note resolves this problem:
1619204 - Smart Forms - position of barcode is wrong
Regards,
Aidan
Similar Messages
-
Images overlap with text when after creating pdf: InDesign CS
Good morning,
I am using bot InDesign CS and CS2, and I am having a problem as the following:
After creating the pdf, images overlap with one another, or the text overlap behind the images so on.
First, I would like to mention the overlapped images had no problem at the previous version of the pdf. If I make a change on the page "06" for example and then recreate the pdf, a couple of images in the other pages move to the different place through the document.
So I tend to "replace" the changed pages into the previous version of the pdf instead of recreating the pdf for all pages.
Is this kind of bug or features of InDesign?
It would be very much appreciated if anyone answer me.
Warm regard, Andrew.The PDF that was placed into ID loses all interactivity and form fields. There is no way to do what you want.
Bob -
Black drop shadow bleeding onto white text during printing (but looks fine on screen)
For my business card design I have white text overlapping an area of very white grey- causing readability issues (insufficient contrast). It looks great apart from this one problem, so I still want to keep my white text and light background and fix it by separating the text and background with a darker drop shadow..
First, I added a black drop shadow to the text- but this was not enough to increase readability (text still looked faded on background as drop shadow was too subtle at 85% opacity, 0.04" blur) so I added a drop shadow to my drop shadow (100% opacity, 0.02" blur + 18% opacity, 0.02" blur). This produced a heavier drop shadow effect for my text as desired but, for some reason, the text came out slightly grey in print (offset run). It seems the drop shadow somehow got printed over the text itself to some extent- turning the white text somewhat grey (and so not looking as clean as intended).
How could this dropshadow bleed into the text happen? Is it to do with the fact I added a drop shadow to my drop shadow? I would have thought that, even then, the text should entirely overlap all of the drop shadow as the text is the top layer in the group.
What can I do to ensure that drop shadow does not print over text in any way in future? Do I have to stick to only one layer of dropshadow-or is there something else I'm missing?One way this could happen is if the white fill of your text was not with 100% opacity.
Also, do you see a whiter place than your text on your business card? It could be the color of the paper if you are comparing with the white of the image on screen without proper color management. -
How can I move an image/file around inside a document with text already in it?
I'm learning In Design on the job, and it's a real challenge. One big problem I'm having is, after I've placed an image inside a document with text in it, how do I place it precisely where I want it? Sometimes I need the image flush to the left, and sometimes I need to center it. When I place it, it doesn't land where I need it to be. Things I've tried work sometimes but not other times. I've tried going to Paragraph and reducing the setting to zero to move an image flush to the left of the text frame/column (I'm working with a three-column page). Sometimes that works, and sometimes it does not. When it doesn't, I've tried using the Selection tool to drag the image, but it doesn't respond. Could someone give me an idea of what I'm overlooking? I'm finding that InDesign has many settings, and all it takes is for one setting to be what it shouldn't be for things to go badly wrong. I'm having other issues too, but in this discussion I'll stick to this.
Sounds like you are anchoring the images in the text flow. That's fine if you need them to move along with text during editing, but is usually not required and often counter productive. If you place your images as separate objects in their own independent frames they can be positioned anywhere and moved at will. If they need to be anchored, consider using Custom Positioned instead of inline.
-
ALV report editable to enter text and print with including the text?
Hi all,
I have to display output of a report in ALV format and i have to make two fileds can be editable to enter texts by user and able to print the list with that texts .
Is it possible using standard Function modules or I have to go for OO methods? Please give the sample code ?
Thanks,
Vamshi
Edited by: VAMSHI KRISHNA on Oct 31, 2008 4:25 PMHi Vamshi,
Check out the Below sample code for the editable ALV.
*& Report Z7CC_OOPS_ALV_EDITABLE
report z7cc_oops_alv_editable.
tables sflight.
data: begin of gt_outtab occurs 0. "with header line
include structure sflight.
data: celltab type lvc_t_styl.
data: end of gt_outtab.
data: gt_fieldcat type lvc_t_fcat.
data: g_carrid like sflight-carrid,
g_connid like sflight-connid.
data: gs_spfli type spfli. "#EC NEEDED
data: g_custom_container type ref to cl_gui_custom_container.
data: g_container type scrfname value 'BCALV_GRID_DEMO_0100_CONT1'.
data: g_grid type ref to cl_gui_alv_grid.
data: wa_outtab like gt_outtab.
* CLASS lcl_event_receiver DEFINITION
class lcl_event_receiver definition.
public section.
types: begin of sflight_key.
types: carrid type s_carr_id.
types: connid type s_conn_id.
types: fldate type s_date.
types: end of sflight_key.
types: sflight_keys type standard table of sflight_key,
sflight_table type standard table of sflight.
methods:
handle_data_changed
for event data_changed of cl_gui_alv_grid
importing er_data_changed.
methods:
get_inserted_rows
exporting
inserted_rows type sflight_keys.
methods:
get_deleted_rows
exporting
deleted_rows type sflight_table.
methods:
refresh_delta_tables.
methods: set_table_is_initial.
methods: set_table_is_not_initial.
methods: table_is_initial
returning value(initial) type char01.
private section.
* §4.Define internal tables to remember inserted and deleted lines,
* thus the delta between input made after the last saving.
data: inserted_rows type sflight_keys,
deleted_rows type standard table of sflight.
* This flag is set if any error occured in one of the
* following methods:
data: error_in_data type c.
* This flag signals that no records were read for the flight
* table initially:
data: initial_table type c.
** Methods to modularize event handler method HANDLE_DATA_CHANGED:
methods:
check_double_entries
importing
pr_data_changed type ref to cl_alv_changed_data_protocol.
methods:
update_delta_tables
importing
pr_data_changed type ref to cl_alv_changed_data_protocol.
methods:
perform_semantic_checks
importing
pr_data_changed type ref to cl_alv_changed_data_protocol.
methods:
get_cell_values
importing
row_id type int4
pr_data_changed type ref to cl_alv_changed_data_protocol
exporting
key type sflight_key.
endclass. "lcl_event_receiver DEFINITION
class lcl_event_receiver implementation.
method handle_data_changed.
* data: ls_good type lvc_s_modi,
* l_price type s_price,
* ls_new type lvc_s_moce.
* error_in_data = space.
** check if there exist double entries
* call method check_double_entries( er_data_changed ).
** remember new or deleted lines for saving
* call method update_delta_tables( er_data_changed ).
** check mt_good_cells semantically
* call method perform_semantic_checks( er_data_changed ).
* if error_in_data = 'X'.
* call method er_data_changed->display_protocol.
* endif.
endmethod. "handle_data_changed
method check_double_entries.
data: lt_good_cells type lvc_t_modi,
ls_good type lvc_s_modi,
ls_key type sflight_key,
ls_sflight type sflight,
l_flightdate like gt_outtab-fldate,
l_del_row type lvc_s_moce,
ls_outtab like line of gt_outtab,
l_reentered type c.
* §5.Check if there exist already other records with equal key fields.
* Check if the user has entered two new lines where the key fields
* are equal.
* Since CARRID and CONNID are read only, the check is restrained
* to field FLDATE.
* Algorithm: Copy all entries in MT_GOOD_CELLS to a dummy table.
* During the copying procedure check if there exists
* already a line with the same Flight date.
* loop at pr_data_changed->mt_good_cells into ls_good.
* case ls_good-fieldname.
* when 'FLDATE'.
* call method pr_data_changed->get_cell_value
* exporting
* i_row_id = ls_good-row_id
* i_fieldname = ls_good-fieldname
* importing e_value = l_flightdate.
* read table lt_good_cells with key
* value = l_flightdate
* transporting no fields.
* if sy-subrc = 0.
** There exists already a line with the same flight date!
* call method pr_data_changed->add_protocol_entry
* exporting
* i_msgid = '0K' i_msgno = '000' i_msgty = 'E'
* i_msgv1 = text-m01
* i_fieldname = ls_good-fieldname
* i_row_id = ls_good-row_id.
* error_in_data = 'X'.
* else.
* ls_good-value = l_flightdate.
* append ls_good to lt_good_cells.
* endif.
* endcase.
* endloop.
** Check if any new entries already exist in gt_outtab.
** At this point, lt_good_cells contains only lines with
** FIELDNAME = 'FLDATE'.
* loop at lt_good_cells into ls_good.
* l_flightdate = ls_good-value. "flightdate, see above
* read table gt_outtab with key
* carrid = g_carrid
* connid = g_connid
* fldate = l_flightdate
* transporting no fields.
* if sy-subrc = 0.
** Check if this entry was deleted before, i.e. it is in the table
** of deleted rows. If so, the entry does not exist twice. The user
** has deleted a line and then reentered it.
* l_reentered = space.
* loop at pr_data_changed->mt_deleted_rows into l_del_row.
* read table gt_outtab into ls_outtab index l_del_row-row_id.
* if sy-subrc ne 0.
* message i000(0k) with text-e01."Fehler beim Löschen
* elseif
* ls_outtab-carrid eq g_carrid
* and ls_outtab-connid eq g_connid
* and ls_outtab-fldate eq ls_good-value.
* l_reentered = 'X'.
* endif.
* endloop.
* if l_reentered ne 'X'.
* call method pr_data_changed->add_protocol_entry
* exporting
* i_msgid = '0K' i_msgno = '000' i_msgty = 'E'
* i_msgv1 = text-m01
* i_fieldname = ls_good-fieldname
* i_row_id = ls_good-row_id.
* error_in_data = 'X'.
* endif.
* endif.
* endloop.
** In this demo report you may prevent the selection
** of data by setting parameter 'p_ds'.
** If this is done, the next check is required:
* if me->table_is_initial( ) eq 'X'.
* call method get_cell_values
* exporting row_id = 1
* pr_data_changed = pr_data_changed
* importing key = ls_key.
* select single * from sflight into ls_sflight
* where carrid = ls_key-carrid
* and connid = ls_key-connid
* and fldate = ls_key-fldate.
* if sy-subrc = 0.
* call method pr_data_changed->add_protocol_entry
* exporting
* i_msgid = '0K' i_msgno = '000' i_msgty = 'E'
* i_msgv1 = text-m01
* i_fieldname = 'FLDATE'
* i_row_id = 1.
* error_in_data = 'X'.
* endif.
** flag initial_table is reset in method 'update_delta_tables'
* endif.
endmethod. "check_double_entries
method update_delta_tables.
* data: l_ins_row type lvc_s_moce,
* l_del_row type lvc_s_moce,
* ls_key type sflight_key,
* ls_sflight type sflight,
* ls_outtab like line of gt_outtab.
** §6.Use protocol attributes MT_DELETED_ROWS and MT_INSERTED_ROWS
** to remember which lines where deleted or inserted. Save this
** information in your internal tables.
** deleted rows
* loop at pr_data_changed->mt_deleted_rows into l_del_row.
* read table gt_outtab into ls_outtab index l_del_row-row_id.
* if sy-subrc ne 0.
* message i000(0k) with text-e01."Fehler beim Löschen
* else.
* move-corresponding ls_outtab to ls_sflight.
** It should no be possible that the same line is deleted twice,
** so we just add the new key line to 'deleted_rows'.
* append ls_sflight to deleted_rows.
** If this line was inserted just before it is deleted:
* delete me->inserted_rows
* where carrid = ls_outtab-carrid
* and connid = ls_outtab-connid
* and fldate = ls_outtab-fldate.
* endif.
* endloop.
** inserted rows
** At this point ALV has not added new lines
** to gt_outtab, so you can not access their values
** by reading gt_outtab.
** Table MT_GOOD_CELLS holds new values that can be
** referenced using the ROW_ID.
* if me->table_is_initial( ) eq 'X'.
** No flights were selected initially. This is the first new line.
* call method get_cell_values
* exporting row_id = 1
* pr_data_changed = pr_data_changed
* importing key = ls_key.
* append ls_key to inserted_rows.
* call method me->set_table_is_not_initial.
* endif.
* loop at pr_data_changed->mt_inserted_rows into l_ins_row.
* call method get_cell_values
* exporting row_id = l_ins_row-row_id
* pr_data_changed = pr_data_changed
* importing key = ls_key.
** READ TABLE gt_outtab INTO ls_outtab INDEX l_ins_row-row_id.
** Just insert the new row regardless if the input is wrong
* append ls_key to inserted_rows.
* endloop.
endmethod. "update_delta_tables
method get_cell_values.
* get values of key cells of row ROW_ID
** CARRIER
* call method pr_data_changed->get_cell_value
* exporting
* i_row_id = row_id
* i_fieldname = 'CARRID'
* importing
* e_value = key-carrid.
* if sy-subrc ne 0.
* message i000(0k) with text-e02. "Fehler beim Einfügen
* endif.
** CONNID
* call method pr_data_changed->get_cell_value
* exporting
* i_row_id = row_id
* i_fieldname = 'CONNID'
* importing
* e_value = key-connid.
* if sy-subrc ne 0.
* message i000(0k) with text-e02. "Fehler beim Einfügen
* endif.
** FLDATE
* call method pr_data_changed->get_cell_value
* exporting
* i_row_id = row_id
* i_fieldname = 'FLDATE'
* importing
* e_value = key-fldate.
* if sy-subrc ne 0.
* message i000(0k) with text-e02. "Fehler beim Einfügen
* endif.
endmethod. "get_cell_values
method perform_semantic_checks.
* data: ls_good type lvc_s_modi,
* l_planetype type s_planetye,
* l_seatsmax type s_seatsmax.
* loop at pr_data_changed->mt_good_cells into ls_good.
* case ls_good-fieldname.
* when 'PLANETYPE'.
* call method pr_data_changed->get_cell_value
* exporting
* i_row_id = ls_good-row_id
* i_fieldname = ls_good-fieldname
* importing
* e_value = l_planetype.
* select single seatsmax from saplane into l_seatsmax
* where planetype = l_planetype.
* if sy-subrc ne 0.
* call method pr_data_changed->add_protocol_entry
* exporting
* i_msgid = '0K' i_msgno = '000' i_msgty = 'E'
* i_msgv1 = text-m02
* i_fieldname = ls_good-fieldname
* i_row_id = ls_good-row_id.
* error_in_data = 'X'.
* else.
* call method pr_data_changed->modify_cell
* exporting i_row_id = ls_good-row_id
* i_fieldname = 'SEATSMAX'
* i_value = l_seatsmax.
* endif.
* endcase.
* endloop.
endmethod. "perform_semantic_checks
method get_inserted_rows.
* inserted_rows = me->inserted_rows.
endmethod. "get_inserted_rows
method get_deleted_rows.
* deleted_rows = me->deleted_rows.
endmethod. "get_deleted_rows
method refresh_delta_tables.
* clear me->inserted_rows[].
* clear me->deleted_rows[].
endmethod. "refresh_delta_tables
method set_table_is_initial.
* initial_table = 'X'.
endmethod. "set_table_is_initial
method set_table_is_not_initial.
* initial_table = space.
endmethod. "set_table_is_not_initial
method table_is_initial.
* if initial_table = 'X'.
* initial = 'X'.
* else.
* initial = space.
* endif.
endmethod. "table_is_initial
endclass. "lcl_event_receiver IMPLEMENTATION
data: g_verifier type ref to lcl_event_receiver.
data: g_max type i value 100.
data: gs_layout type lvc_s_layo.
data: ok_code like sy-ucomm,
save_ok like sy-ucomm.
parameters: p_ds type c as checkbox. "delete selection
select-options s_carrid for sflight-carrid
no intervals no-extension default 'LH'.
select-options s_connid for sflight-connid
no intervals no-extension default '0400'.
start-of-selection.
g_carrid = s_carrid-low.
g_connid = s_connid-low.
* first check airline and connection
select single * from spfli into gs_spfli
where carrid = g_carrid
and connid = g_connid.
call screen 100.
*& Module STATUS_0100 OUTPUT
* text
module status_0100 output.
set pf-status 'MAIN100'.
set titlebar 'MAIN100'.
if g_custom_container is initial.
perform create_and_init_alv changing gt_outtab[]
gt_fieldcat.
endif.
endmodule. " STATUS_0100 OUTPUT
*& Form create_and_init_alv
* text
* <--P_GT_OUTTAB[] text
* <--P_GT_FIELDCAT text
form create_and_init_alv changing pt_outtab like gt_outtab[]
pt_fieldcat type lvc_t_fcat.
data: lt_exclude type ui_functions.
create object g_custom_container
exporting container_name = g_container.
create object g_grid
exporting i_parent = g_custom_container.
* Create Objekt to verify input values.
* (This object is already needed in form SELECT_DATA).
create object g_verifier.
* SET HANDLER g_verifier->handle_data_changed FOR g_grid.
perform select_data changing pt_outtab[].
perform build_fieldcat changing pt_fieldcat.
perform exclude_tb_functions changing lt_exclude.
gs_layout-stylefname = 'CELLTAB'.
call method g_grid->set_table_for_first_display
exporting
it_toolbar_excluding = lt_exclude
is_layout = gs_layout
changing
it_fieldcatalog = pt_fieldcat
it_outtab = pt_outtab[].
* Set editable cells to ready for input initially
call method g_grid->set_ready_for_input
exporting
i_ready_for_input = 1.
endform. " create_and_init_alv
*& Form select_data
* text
* <--P_GT_OUTTAB text
form select_data changing pt_outtab like gt_outtab[].
data: lt_sflight type table of sflight,
ls_sflight type sflight,
ls_outtab like line of gt_outtab,
l_index type i,
ls_spfli type spfli, "#EC NEEDED
lt_celltab type lvc_t_styl.
* Check parameter 'p_ds'=>optionally select no data
if p_ds is initial.
* Select data from sflight
select * from sflight into table lt_sflight up to g_max rows
where carrid = g_carrid
and connid = g_connid.
endif.
if sy-subrc ne 0 or not p_ds is initial.
* no flights were found!
* We provide some default values for the first line that is entered:
ls_outtab-carrid = g_carrid.
ls_outtab-connid = g_connid.
case g_carrid.
when 'LH'.
ls_outtab-currency = 'DEM'.
when others.
ls_outtab-currency = 'US'.
endcase.
ls_outtab-seatsocc = 0.
ls_outtab-paymentsum = 0.
* set fields FLDATE, PRICE and PLANETYPE to editable
perform fill_celltab using 'RW'
changing lt_celltab.
insert lines of lt_celltab into table ls_outtab-celltab.
append ls_outtab to pt_outtab.
* Tell Verify-Objekt that the table was initial
call method g_verifier->set_table_is_initial.
else.
call method g_verifier->set_table_is_not_initial.
* move corresponding fields from lt_sflight to gt_outtab
loop at lt_sflight into ls_sflight.
move-corresponding ls_sflight to ls_outtab.
append ls_outtab to pt_outtab.
endloop.
* §3.Set all cells of the table non-editable by using the style table.
loop at pt_outtab into ls_outtab.
l_index = sy-tabix.
refresh lt_celltab.
perform fill_celltab using 'RO'
changing lt_celltab.
* Copy your celltab to the celltab of the current row of gt_outtab.
insert lines of lt_celltab into table ls_outtab-celltab.
modify pt_outtab from ls_outtab index l_index.
endloop.
endif.
endform. " select_data
*& Form fill_celltab
* text
* -->VALUE(P_MODE) text
* -->PT_CELLTAB text
form fill_celltab using value(p_mode)
changing pt_celltab type lvc_t_styl.
data: ls_celltab type lvc_s_styl,
l_mode type raw4.
* This forms sets the style of columns 'PRICE', FLDATE and PLANETYPE
* editable
if p_mode eq 'RW'.
l_mode = cl_gui_alv_grid=>mc_style_enabled.
else. "p_mode eq 'RO'
l_mode = cl_gui_alv_grid=>mc_style_disabled.
endif.
ls_celltab-fieldname = 'FLDATE'.
ls_celltab-style = l_mode.
insert ls_celltab into table pt_celltab.
ls_celltab-fieldname = 'PRICE'.
ls_celltab-style = l_mode.
insert ls_celltab into table pt_celltab.
ls_celltab-fieldname = 'PLANETYPE'.
ls_celltab-style = l_mode.
insert ls_celltab into table pt_celltab.
endform. " FILL_CELLTAB
*& Form BUILD_FIELDCAT
* text
* <--P_GT_FIELDCAT text
form build_fieldcat changing pt_fieldcat type lvc_t_fcat.
data ls_fcat type lvc_s_fcat.
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = 'SFLIGHT'
changing
ct_fieldcat = pt_fieldcat.
loop at pt_fieldcat into ls_fcat.
if ls_fcat-fieldname eq 'PRICE'
or ls_fcat-fieldname eq 'PLANETYPE'
or ls_fcat-fieldname eq 'FLDATE'.
* §1.Set status of columns FLDATA, PRICE and PLANETYPE to editable.
* Since all cells are set to non-editable (see step 3) the cells
* of this columns will only be editable for new lines.
ls_fcat-edit = 'X'.
* Field 'checktable' is set to avoid shortdumps that are caused
* by inconsistend data in check tables. You may comment this out
* when the test data of the flight model is consistent in your system.
ls_fcat-checktable = '!'. "do not check foreign keys
modify pt_fieldcat from ls_fcat.
elseif ls_fcat-fieldname = 'CARRID'
or ls_fcat-fieldname = 'CONNID'
or ls_fcat-fieldname = 'CURRENCY'.
* §2.Use field AUTO_VALUE of the fieldcatalog to preset values when new
* lines are added.
ls_fcat-auto_value = 'X'.
ls_fcat-checktable = '!'. "do not check foreign key relations
modify pt_fieldcat from ls_fcat.
endif.
endloop.
endform. "build_fieldcat
*& Form exclude_tb_functions
* text
* <--P_LT_EXCLUDE text
form exclude_tb_functions changing pt_exclude type ui_functions.
data ls_exclude type ui_func.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row.
append ls_exclude to pt_exclude.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_undo.
append ls_exclude to pt_exclude.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row.
append ls_exclude to pt_exclude.
endform. " EXCLUDE_TB_FUNCTIONS
*& Module USER_COMMAND_0100 INPUT
* text
module user_command_0100 input.
save_ok = sy-ucomm.
clear ok_code.
case save_ok.
when 'SAVE'.
* perform save_data.
when 'BACK'.
* §10.Unlock your database table.
* perform unlock_sflight.
leave to screen 0.
when 'EXIT'.
perform exit_program.
when 'ADD'.
perform add_line_item.
when others.
* do nothing
endcase.
endmodule. " USER_COMMAND_0100 INPUT
* FORM EXIT_PROGRAM *
form exit_program.
leave program.
endform. "exit_program
*& Form ADD_LINE_ITEM
* text
* --> p1 text
* <-- p2 text
form add_line_item .
data: lt_rows type lvc_t_row.
data: wa_rows type lvc_t_row with header line.
data: tabix type sy-tabix.
*&Find the row ( index ) number
call method g_grid->get_selected_rows
importing et_index_rows = lt_rows.
call method cl_gui_cfw=>flush.
read table lt_rows into wa_rows index 1.
tabix = wa_rows-index .
insert gt_outtab index tabix.
*REFRESH_TABLE_DISPLAY
call method g_grid->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
* EXCEPTIONS
* FINISHED = 1
* others = 2
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " ADD_LINE_ITEM
Thanks,
Chidanand -
Problem with text printing on ZEBRA printer
Hi all,
I created a label in adobe forms to print output in ZEBRA140xi series printer. In the label I am printing Delivery number,storage bin,material number,delivery date and other details along with barcodes.
I created a header to display company name. In header I kept solid black color as background and company name in white color in foreground with Arial 8 font.
when I print the label all runtime values are printed but the header with black background only printing. The white text on the black background is not printing.
Kindly tell me what I should do to print white color text on black background in ZEBRA printer?
Note: the print is working fine with laser printer problem comes when printed on ZEBRA printer.
regards,
Suresh.Hello,
did you find a solution? I have the same problem: print ADS forms on zebra with black background and withe text.
Regards.
Benjamin -
Hello,
This is my first post, so please be gentle
I'm having an issue with certain words and linked graphics when viewing and printing PDFs exported from InDesign CS5.5 to Acrobat 5.
The glitchy words appear to have the letters stacked on top of eachother creating a garbled mess.
When I scroll up/down in Acrobat 5, the word will change appearance... sometimes okay, sometimes messed up. The document will print as it's displayed in Acrobat (good or bad).
This issue is inconsistent... sometimes the same paragraph style or graphic used in other areas of the document will never look corrupt. The ones that display this issue always waivers back & forth.
This doesn't seem to be an issue in later versions of Acrobat. However, our company still has MANY users on Acrobat 5 and exporting to later versions will cause major compatibility problems.
Can someone tell me what could be causing this issue, and how I can correct it?
Please see attached example below.
Software / System details:
Operating system is Windows XP
View / Print from Acrobat 5.0.0 (3/22/2001)
File created in InDesign CS5.5 (version 7.5.1) <---Update 12/8/11 2:53PM EST: Upgraded to version 7.5.2... Problem persists.
Graphics created in Illustrator CS5.1 (version 15.1.0)
The graphic is a black box with white text (Arial font) created in Illustrator CS5.1, and saved as AI file. Linked in InDesign file as anchored graphic.
The text is set up in InDesign as a paragraph style with first word as a nested style. ALL text is Arial font.
Message was edited by: crusius2
***UPDATE 12/9/11 10:35AM EST:
When I embed the Arial font upon export from InDesign (Subset fonts when percent of characters used is less than 0%), the problem words appear okay.
Why would there be an issue subsetting Arial font? I could understand if the font was unusual, but Arial????
So, the only solutions I could come up with is either print to pdf, or export with embedding all fonts (increases file size). If anyone has a better solution, please let me know.
Thanks, crusius2.After a few rounds of testing various things:
I applied a Master Page of None to all the pages - and the pages exported correctly.
I reapplied all the master pages to the various pages as needed. And again it exported incorrectly.
I deleted all the Master Pages - recreated them and reapplied them - and it's all working as normal.
Cause seems to be some sort of corruption with the Master Pages. -
Rotated ASCII characters overlap in Text Layout Framework with specific Japanese/Chinese fonts
I am trying to layout rotated text with Text Layout Framework. Mostly okay, but when it comes to specific Japanese/Chinese fonts, problem happens - "hankaku" alphanumeric characters(in other words, ASCII characters) overlap in those fonts. (Full-width "zenkaku" characters have no problem, though)
When "HG丸ゴシックM-PRO" or "HG正楷書体-PRO" are specified as fontFamily(both come with Office - common fonts in Japanese Windows environment), characters are wholly overlapped.
When "SimSun", "NSimSun" or "SimHei" are specified as fontFamily(Chinese fonts, all come with Japanese Windows XP), characters are slightly overlapped.
If anyone knows a solution or a workaround to this, please let me know.
Sample code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initapp();">
<mx:Script>
<![CDATA[
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.elements.ParagraphElement;
import flashx.textLayout.elements.SpanElement;
import flashx.textLayout.elements.TextFlow;
import flash.text.engine.TextRotation;
import mx.core.UIComponent;
private function initapp():void
var container:UIComponent = new UIComponent();
var textflow:TextFlow = new TextFlow();
var controller:ContainerController = new ContainerController(container);
var paragraph:ParagraphElement = new ParagraphElement();
var span:SpanElement = new SpanElement();
textflow.fontFamily = "HG丸ゴシックM-PRO";
textflow.textRotation = TextRotation.ROTATE_270;
textflow.fontSize = 72;
textflow.color = 0;
span.text = "abcdefg";
controller.setCompositionSize(this.unscaledWidth, this.unscaledHeight);
paragraph.addChild(span);
textflow.addChild(paragraph);
textflow.flowComposer.addController(controller);
textflow.flowComposer.updateAllControllers();
this.addChild(container);
]]>
</mx:Script>
</mx:WindowedApplication>
Warm regards,
Yuushimamalachite00 wrote:
> Thanks David. So is there any way around having to embed
the font when
> rotating text?
Not that I know of. Your problem is that you're loading the
content
dynamically, so you have no idea what it will contain.
There's normally
no need to embed Japanese fonts for a Japanese audience,
because they
already have the main fonts, such as Mincho, Gothic, or Osaka
on their
machine. Perhaps you'll just have to give up the idea of
rotation.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
Text not printing with Black Ink on Canon i560
I've been having a pretty annoying problem with my Canon i560: When printing black text, instead of using the black ink, the printer mixes black from the color inks. This has been a problem for a little while but recently, the colors got a little offset so it became really obvious.
Also, I just received an update for the Canon printer drivers and according to the Apple page, the Canon i560 is supported and the drivers are actually updated.
I'm pretty sure that it's a driver problem because I can print from a Windows virtual machine to the exactly same printer all other variables remaining the same - and guess what: When printing from Windows, black is black, colors are colors, as one would expect with this kind of printer.
So, does anyone have an idea how I can make my make send the right signals to my Canon i560?
Here's the data from my System Report:
Canon i560:
Status: Idle
Print Server: Local
Driver Version: 10.57.2.0
Default: Yes
Shared: Yes
URI: usb://Canon/i560?serial=2089RX
PPD: Canon i560
PPD File Version: 10.57.2.0
PostScript Version: (3010.000) 705
CUPS Version: 1.5.3 (cups-297.9)
Fax support: No
Scanning support: No
Printer Commands: PrintSelfTestPage ReportLevels
CUPS filters:
Raster2CanonIJ:
Path: /Library/Printers/Canon/BJPrinter/Filters/Raster2CanonIJ/Raster2CanonIJ.bundle/ Contents/MacOS/Raster2CanonIJ
Permissions: rwxr-xr-x
Version: 10.57.2
Command2CanonIJ:
Path: /Library/Printers/Canon/BJPrinter/Filters/Command2CanonIJ.bundle/Contents/MacOS /Command2CanonIJ
Permissions: rwxr-xr-x
Version: 10.57.2
Printer utility: /Library/Printers/Canon/BJPrinter/Utilities/BJPrinterUtility2.app
Printer utility version: 7.27.3
PDEs:
CanonIJPDE.bundle:
Sandbox compliant: Yesholtsch wrote:
Ah, sorry, I missed that when reading your reply. Probably should have re-read it. However, I have just made a test-print from TextEdit with the "Grayscale Printing" checkbox enabled - and I'm still getting precisely the same ugly, greenish result.
Then it is not working as it should be and it is either the driver or the core printing system. To check both there is alternate driver available called Gutenprint. With this driver suite installed you can create another printer queue on the Mac, this time selecting the Gutenprint i560 driver. When you then print and have the i560 Gutenprint driver selected, change to the Printer Features menu and then select the General tab in Feature Sets submenu and then set the Color Model to Grayscale. Does this work correctly?
And with the Canon driver, if you want to repair the colour offset, you can go to Print & Scan, select the i560 using the Canon driver and then open Options & Supplies. Then select the Utilities tab and click on Open Printer Utility. This will open the Canon IJ Printer Utility. From here you can select the Test Print menu and then Print Head alignment. -
How to connect scanner or printer or barcode reader with java
hello friends
How to conncect printer ,scanner or barcode reader with java program directly .
please send some suggestion .
Thanks in advance
Nitin922264 wrote:
Thanks for the feedback. I'm having trouble getting my getText method to return the actual value, but here is my updated code:
BufferedReader br = new BufferedReader( new StringReader( getText() ) );....
public void getText(Document doc)
Element e = doc.getDocumentElement();
NodeList nodeList = doc.getElementsByTagName("Interface");
for (int i = 0; i < nodeList.getLength(); i++)
Node node = nodeList.item(i);
if (node.getNodeType() == Node.ELEMENT_NODE)
Element element = (Element) node;
NodeList nodelist = element.getElementsByTagName("Description");
Element element1 = (Element) nodelist.item(0);
NodeList ndLst = element1.getChildNodes();
//System.out.print((ndLst.item(0)).getNodeValue());
return doc;
}Here is the compiler error I am getting:
ImportDesc.java:32: error: method getText in class ImportDesc cannot be applied
to given types;
BufferedReader br = new BufferedReader( new StringReader
( getText() ) );
^
required: Document
found: no arguments
reason: actual and formal argument lists differ in length
Note: ImportDesc.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 errorThoughts?
Edited by: 922264 on Mar 21, 2012 10:33 AMYour getText method is not returning anything. -
Invoice number on invoice overlapping with other texts
Dear Friends,
Invoice number on invoice overlapping with other texts
On the top right corner of the second page of the invoice, Invoice number is overlapping with the text 'Invoice/Invoice Number'. The text 'Tax Invoice/Invoice Number' should be above the invoice number.
Where I need to chagne this and how.
Thanks
VenkatHi,
This can be done in the SMARTFORM/SAPSCRIPT
Check the OUTPUT for the SMARTFORM or SAPSCRIPT in NACE transaction code
goto the Tranaction code SMARTFORMS and Identify the WINDOW of INVOICE NUMBER and if you have access you can increase the window size or check with your developer to increase the size.
regards,
santosh -
I ordered a photobook, when I went to purchase it flashed up a warning about default text saying 'printed books will not include this text'.
Was really dissapointed when my photo book arrived with the default text printed. Will I have to return it? Or can I get some sort of discount? I don't live near a post office so I'd rather not have to return it.Contact Apple support - they can answer that type of questions - we are just users here like yourself
BTW - it is best not to order when you have errors - to resolve that error place a single space in the subject text box
and always
Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
LN -
Hi All,
I need help/ suggestion to print one new barcode text also vertically. My barcode is printing vertically on a label. But the text are printing horizontally. Can anyone please share their inputs on this issue and help me print the text vertically.
Thanks & reagrds
SAPERLEHi All,
I need help/ suggestion to print one new barcode text also vertically. My barcode is printing vertically on a label. But the text are printing horizontally. Can anyone please share their inputs on this issue and help me print the text vertically.
Thanks & reagrds
SAPERLE -
SAPScript: Structure with the current print page during printing?
Hello,
ist the a structure which is filled with current infomation about the printed SAPScript form. For example can I get the current printpage during printing the form? Thanks.
Regards. Lars.You can use directly <b>&PAGE&</b>.
This will print the current page number. -
Website uses foxpro to produce report with barcode and barcode shows as text instead of barcode
view source code shows the code below
<pre><nowiki>
<td><font face="Free 3 of 9 Extended"><font size="7">*16001533779*</font>
</nowiki></pre>
what must I do to have barcode show as barcode and not text?You would need to have a font installed to show this barcode if there aren't images used.
face="Free 3 of 9 Extended" specifies that the "Free 3 of 9 Extended" should be used.
Make sure that you allow pages to choose their own fonts.
*Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
Maybe you are looking for
-
ADCS Error -8257 occurred at ISOTP.vi
Hello everyone, I have a new problem with ADCS I'm trying to read the Ecu DTC with the "ReadDTCByStatus.vi" making the request: 18 00 FF 00 (in hex). The Ecu has 3 errors in memory and then responds with a consecutive frame. I've set the globals Dia
-
My 1st Generation time capsule won't connect to the internet thru a new motorola sb6121 - get continuously flashing yellow light. Using a router in between the modem and capsule yields good but slower connection to internet. Any thoughts?
-
Calculation of Purchase Order TAX in Smart Form
Hi All ! I am facing problem in purchase Order, how to calculate the value of tax in Purchase order . in KONV Table, I am getting the value of condition type which r maintained on pricing procedure but, we r not getting the condition type for particu
-
CRM - CRM_ORDER_MAINTAIN - Appointments
Hi all A client is using the CRM interaction centre (trxn. CIC0). When a date is set in a transaction within CIC0, they want that date copied to all the follow up activities as well when the user saves. We've already used BADI ORDER_SAVE and FM's
-
'''I cannot and never have been, able to open a file that has been previously saved to hard disk by choosing the print to file option in the print dialogue box. Firefox displays gooblygook even though the file name is an html, Windows Notepad crashes